zeleznyt commited on
Commit
7d68828
·
verified ·
1 Parent(s): 2dd9e0d

Update script.py

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