Skip to content

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)
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