We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1f172a commit 1e160aeCopy full SHA for 1e160ae
test_aves.py
@@ -35,6 +35,8 @@ def forward(self, x, y=None):
35
model_path='./aves-base-bio.pt',
36
num_classes=10)
37
38
+model.eval()
39
+
40
# Create a 1-second random sound
41
waveform = torch.rand((16_000))
42
x = waveform.unsqueeze(0)
0 commit comments