Update script.py
Browse files
script.py
CHANGED
@@ -64,7 +64,7 @@ def make_submission(test_metadata, model_paths, model_name, output_csv_path="./s
|
|
64 |
predictions = []
|
65 |
|
66 |
for _, row in tqdm(test_metadata.iterrows(), total=len(test_metadata)):
|
67 |
-
image_path = os.path.join(images_root_path, row.
|
68 |
|
69 |
test_image = Image.open(image_path).convert("RGB")
|
70 |
flipped_image = test_image.transpose(Image.FLIP_LEFT_RIGHT)
|
|
|
64 |
predictions = []
|
65 |
|
66 |
for _, row in tqdm(test_metadata.iterrows(), total=len(test_metadata)):
|
67 |
+
image_path = os.path.join(images_root_path, row.filename)
|
68 |
|
69 |
test_image = Image.open(image_path).convert("RGB")
|
70 |
flipped_image = test_image.transpose(Image.FLIP_LEFT_RIGHT)
|