-
Notifications
You must be signed in to change notification settings - Fork 709
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
Refactor PreProcessor
and fix Visualizer
denormalization issue.
#570
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
ee1cfce
move sample generation to datamodule instead of dataset
djdameln ec5199e
move sample generation from init to setup
djdameln 9f0a35e
remove inference stage and add base classes
djdameln dea176f
replace dataset classes with AnomalibDataset
djdameln 62a04f8
move setup to base class, create samples as class method
djdameln e91afad
update docstrings
djdameln df4a805
refactor btech to new format
djdameln c225a83
allow training with no anomalous data
djdameln ac0dc8a
remove MVTec name from comment
djdameln 5d90209
raise NotImplementedError in base class
djdameln c1e6724
allow both png and bmp images for btech
djdameln 2d70d89
use label_index to check if dataset contains anomalous images
djdameln f5f17db
refactor getitem in dataset class
djdameln f02065f
use iloc for indexing
djdameln 9cba9da
move dataloader getters to base class
djdameln 5b3e841
refactor to add validate stage in setup
djdameln 98b56ee
Merge branch 'da/refactor-datamodules' of github.com:openvinotoolkit/…
samet-akcay 0d82c5c
Add warning message when there is no config file passed
samet-akcay 4572d84
Merge branch 'main' of github.com:openvinotoolkit/anomalib into fix/s…
samet-akcay 8a815e0
Extract get_transforms and get_height_and_width functions
samet-akcay 764c111
refactor pre-processor and fix visualizer normalization issue
samet-akcay 6fa4756
Revert thenew data refactor
samet-akcay 3ebc2d5
rename variable
samet-akcay e6f0309
Revert the changes not merged yet
samet-akcay 679757b
Fix tests
samet-akcay 91e92db
Fix tests
samet-akcay 98597c3
Address codacy concerns
samet-akcay 07708c2
Merge branch 'main' into fix/sa/custom-data-normalization
samet-akcay File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we also move this function to
data/utils
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think this is still one of the most important components of
pre-processing
sub-package. If we move it todata/utils
, thenpre_processing
would become quite a weak package that we could consider removing in the futureThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In that case we could ask ourselves if we really need the
pre-processing
moduleThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, that's the question, I think
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm merging this one, we could discuss this later on