fix: debugging metric calculation
Browse files
script.py
CHANGED
@@ -67,9 +67,11 @@ def make_submission(test_metadata, model_path, model_name, output_csv_path="./su
|
|
67 |
|
68 |
test_image = Image.open(image_path).convert("RGB")
|
69 |
|
70 |
-
logits = model.predict_image(test_image)
|
71 |
|
72 |
-
predictions.append(np.argmax(logits))
|
|
|
|
|
73 |
|
74 |
test_metadata["class_id"] = predictions
|
75 |
|
|
|
67 |
|
68 |
test_image = Image.open(image_path).convert("RGB")
|
69 |
|
70 |
+
#logits = model.predict_image(test_image)
|
71 |
|
72 |
+
#predictions.append(np.argmax(logits))
|
73 |
+
|
74 |
+
predictions.append(0)
|
75 |
|
76 |
test_metadata["class_id"] = predictions
|
77 |
|