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

Bugfix: fix random val/test split issue #48

Merged
merged 2 commits into from
Dec 23, 2021

Conversation

djdameln
Copy link
Contributor

This PR solves the problems with incorrect train/val/test splits. The seed from the config is now used when the splits are created. Also the create_validation_set argument of the make_mvtec_dataset now takes effect when set to True.

Copy link
Collaborator

@ashwinvaidya17 ashwinvaidya17 left a comment

Choose a reason for hiding this comment

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

This was a good catch!

anomalib/data/mvtec.py Outdated Show resolved Hide resolved
anomalib/data/mvtec.py Outdated Show resolved Hide resolved
@samet-akcay
Copy link
Contributor

Thanks @djdameln! Nice one! Only minor comments.

@samet-akcay samet-akcay enabled auto-merge (squash) December 23, 2021 20:10
@samet-akcay samet-akcay merged commit 0d5d26d into development Dec 23, 2021
@samet-akcay samet-akcay deleted the bugfix/dick/val-test-split branch December 23, 2021 20:11
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

3 participants