Update square_crop.py
Browse files- square_crop.py +1 -2
square_crop.py
CHANGED
@@ -80,5 +80,4 @@ def run_square_crop(input_dir, coco_json_path, cropped_dir):
|
|
80 |
# except Exception as e:
|
81 |
# print(f"Error on {img_path}.")
|
82 |
|
83 |
-
|
84 |
-
return os.listdir(cropped_dir)
|
|
|
80 |
# except Exception as e:
|
81 |
# print(f"Error on {img_path}.")
|
82 |
|
83 |
+
return [os.path.join(cropped_dir, fname) for fname in sorted(os.listdir(cropped_dir))]
|
|