Kaushik066 commited on
Commit
b3d85b9
·
1 Parent(s): d5ddb65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -239,9 +239,8 @@ def prod_function(model_pretrained, prod_ds):
239
  # Evaluate at the end of the epoch
240
  accelerated_model.eval()
241
 
242
- videos = acclerated_prod_ds['pixel_values']
243
  with torch.no_grad():
244
- outputs = accelerated_model(videos)
245
 
246
  prod_logits = outputs.squeeze(1)
247
  prod_pred = prod_logits.argmax(-1)
 
239
  # Evaluate at the end of the epoch
240
  accelerated_model.eval()
241
 
 
242
  with torch.no_grad():
243
+ outputs = accelerated_model(acclerated_prod_ds)
244
 
245
  prod_logits = outputs.squeeze(1)
246
  prod_pred = prod_logits.argmax(-1)