Skip to content

Commit

Permalink
Congrats Łukasz, we haven't moved this repo to Ruff yet
Browse files Browse the repository at this point in the history
  • Loading branch information
psobot committed Aug 8, 2024
1 parent d7082c5 commit bd8fc31
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/layers/test_nnaudio.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,7 @@ def test_cqt_trainable_layers_change_on_training(train: bool) -> None:

model.compile(loss="mse")
if train:
signal = librosa.chirp(
fmin=32.70, fmax=TEST_SAMPLE_RATE, length=TEST_SAMPLE_RATE * 10, linear=True
)
signal = librosa.chirp(fmin=32.70, fmax=TEST_SAMPLE_RATE, length=TEST_SAMPLE_RATE * 10, linear=True)
noise = np.random.rand(*signal.shape).astype(signal.dtype)

model.fit(np.array([signal, noise]), np.array([1, 0]), epochs=10, verbose=0)
Expand Down

0 comments on commit bd8fc31

Please sign in to comment.