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

assign test split for folder dataset #220

Merged
merged 4 commits into from
Apr 12, 2022
Merged

assign test split for folder dataset #220

merged 4 commits into from
Apr 12, 2022

Conversation

alexriedel1
Copy link
Contributor

@alexriedel1 alexriedel1 commented Apr 11, 2022

This PR addresses #180 (comment)

If you provide a config.dataset.normal_test to the datamodule, you can now define test data in a folder datamodule.

@alexriedel1 alexriedel1 changed the title self-assign test split for folder dataset assign test split for folder dataset Apr 11, 2022
Copy link
Contributor

@samet-akcay samet-akcay left a comment

Choose a reason for hiding this comment

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

Thanks for adding this @alexriedel1! It would also be great to cover normal_dir in the tests, but I guess we might need some refactoring in the tests to do so. We could potentially address this in a separate PR.

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

Thanks @alexriedel1, just in time! We're planning to release v0.2.6 today and upload to pypi. This will be a nice addition!

Copy link
Contributor

@samet-akcay samet-akcay left a comment

Choose a reason for hiding this comment

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

Thanks @alexriedel1!

@samet-akcay samet-akcay merged commit 2da55ae into openvinotoolkit:development Apr 12, 2022
@alexriedel1 alexriedel1 deleted the folder_dset branch April 12, 2022 12:54
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