picekl commited on
Commit
d544d25
1 Parent(s): 3cf8c5c

fix: debugging metric calculation

Browse files
Files changed (1) hide show
  1. script.py +4 -2
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