AB739 commited on
Commit
d520f1d
·
verified ·
1 Parent(s): 8b74555

Update tasks/audio.py

Browse files
Files changed (1) hide show
  1. tasks/audio.py +1 -1
tasks/audio.py CHANGED
@@ -209,9 +209,9 @@ async def evaluate_audio(request: AudioEvaluationRequest):
209
  for data, target in test_loader:
210
  output = model(data).squeeze()
211
  pred = torch.argmax(output, dim=-1)
212
- print('pred:', pred)
213
  predictions.extend(pred.tolist())
214
 
 
215
  #--------------------------------------------------------------------------------------------
216
  # YOUR MODEL INFERENCE STOPS HERE
217
  #--------------------------------------------------------------------------------------------
 
209
  for data, target in test_loader:
210
  output = model(data).squeeze()
211
  pred = torch.argmax(output, dim=-1)
 
212
  predictions.extend(pred.tolist())
213
 
214
+ print("predictions:", predictions)
215
  #--------------------------------------------------------------------------------------------
216
  # YOUR MODEL INFERENCE STOPS HERE
217
  #--------------------------------------------------------------------------------------------