Varun Wadhwa commited on
Commit
1f408e5
·
unverified ·
1 Parent(s): ae83b51
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -156,6 +156,7 @@ def evaluate_model(model, dataloader, device):
156
  print(attention_mask[i].shape)
157
  print(valid_mask.shape)
158
  print(valid_labels)
 
159
  valid_preds = preds[i][valid_mask[i]].flatten()
160
  valid_labels = labels[i][valid_mask[i]].flatten()
161
  all_preds.extend(valid_preds.tolist())
 
156
  print(attention_mask[i].shape)
157
  print(valid_mask.shape)
158
  print(valid_labels)
159
+ print(valid_mask)
160
  valid_preds = preds[i][valid_mask[i]].flatten()
161
  valid_labels = labels[i][valid_mask[i]].flatten()
162
  all_preds.extend(valid_preds.tolist())