Spaces:
Runtime error
Runtime error
osanseviero
commited on
Commit
•
2b696a2
1
Parent(s):
744e515
Update main.py
Browse files
main.py
CHANGED
@@ -78,7 +78,7 @@ def find_samples_to_label():
|
|
78 |
|
79 |
# Get all predictions
|
80 |
# And then get the 5 samples with the lowest prediction score
|
81 |
-
preds = loaded_model.predict(
|
82 |
top_pred_confs = 1 - np.max(preds, axis=1)
|
83 |
idx_to_label = np.argpartition(top_pred_confs, -5)[-5:]
|
84 |
|
|
|
78 |
|
79 |
# Get all predictions
|
80 |
# And then get the 5 samples with the lowest prediction score
|
81 |
+
preds = loaded_model.predict(processed_data)
|
82 |
top_pred_confs = 1 - np.max(preds, axis=1)
|
83 |
idx_to_label = np.argpartition(top_pred_confs, -5)[-5:]
|
84 |
|