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 data_factory.py which will shuffle test dataset for classification tasks #498

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

webbershaw
Copy link
Contributor

Turn "shuffle_flag = False if flag == 'test' else True" into "shuffle_flag = False if (flag == 'test' or flag == 'TEST') else True" at data_factory.py since Flags in classification tasks are in uppercase.

@wuhaixu2016
Copy link
Collaborator

Thanks for your contribution.

@wuhaixu2016 wuhaixu2016 merged commit bbcda1b into thuml:main Aug 13, 2024
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