Skip to content

Commit

Permalink
[Fix] Fix folder creation in preprocess_df2k_ost_dataset.py (open-mml…
Browse files Browse the repository at this point in the history
  • Loading branch information
ckkelvinchan authored Nov 23, 2021
1 parent 3066873 commit c4e66aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def extract_subimages(opt):
"""
input_folder = opt['input_folder']
save_folder = opt['save_folder']
if not mmcv.mkdir_or_exist(save_folder):
if not osp.exists(save_folder):
os.makedirs(save_folder)
print(f'mkdir {save_folder} ...')
else:
Expand Down

0 comments on commit c4e66aa

Please sign in to comment.