picekl commited on
Commit
219c4e6
1 Parent(s): d544d25

feat: final version

Browse files
Files changed (1) hide show
  1. script.py +2 -4
script.py CHANGED
@@ -67,11 +67,9 @@ 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
- predictions.append(0)
75
 
76
  test_metadata["class_id"] = predictions
77
 
 
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