Spaces:
Sleeping
Sleeping
Varun Wadhwa
commited on
Logs
Browse files
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())
|