We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 146ad0c commit 931ea7eCopy full SHA for 931ea7e
scripts/step01_add_dimensions_to_original_image_names.py
@@ -15,6 +15,8 @@
15
def rename_images_add_dimensions(start_dir, renamed_dir, test=False):
16
if test:
17
print('cwd =', os.getcwd())
18
+ if not os.path.exists(start_dir):
19
+ os.makedirs(start_dir)
20
if not os.path.exists(renamed_dir):
21
os.makedirs(renamed_dir)
22
for filename in os.listdir(start_dir):
0 commit comments