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

Correct once dataset default path and paths for data generation #1207

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

kun-woo-park
Copy link

Previous code attempted to generate for all type of data inside splits list(which has ["train", "val", "test", "raw_small", "raw_medium", "raw_large"]).
It occurs error even if just one split doesn't exist in data path.
Therefore, I correct it to generate only existing data splits.

…) without Loader=... is deprecated in latest virsion)
…nore list to generate dataset properly(if download dataset without raw datas, dataset generator not working)
@@ -4,7 +4,7 @@ numba
torch>=1.1
tensorboardX
easydict
pyyaml
pyyaml==5.4.1
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May I know why need to fix the pyyaml version?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on source, it use yaml.load() function for loading yaml scripts, but it is deprecated in latest version and causing error : "load() missing 1 required positional argument 'loader'".

So, it might need to fix the pyyaml version supporting yaml.load() function.
(Another option i found is replacing it to yaml.full_load() in latest version of pyyaml)

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.

2 participants