Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] Fix folder creation in preprocess_df2k_ost_dataset.py #623

Merged
merged 2 commits into from
Nov 23, 2021

Conversation

ckkelvinchan
Copy link
Member

@ckkelvinchan ckkelvinchan commented Nov 23, 2021

Motivation

As mentioned in #620, the current version induces error when creating folder for the images, due to the duplicate of mmcv.mkdir_or_exist and os.makedirs.

Modification

This PR changes mmcv.mkdir_or_exist to osp.exists, so that no folder is created as in mmcv.mkdir_or_exist.

@ckkelvinchan ckkelvinchan merged commit 079448c into master Nov 23, 2021
@ckkelvinchan ckkelvinchan deleted the df2k branch November 23, 2021 11:56
Yshuo-Li pushed a commit to Yshuo-Li/mmediting that referenced this pull request Jul 15, 2022
Yshuo-Li pushed a commit to Yshuo-Li/mmediting that referenced this pull request Jul 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant