-
Notifications
You must be signed in to change notification settings - Fork 0
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
Adding user-specified cutout crop size. #49
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #49 +/- ##
==========================================
+ Coverage 43.86% 46.63% +2.76%
==========================================
Files 16 16
Lines 554 579 +25
==========================================
+ Hits 243 270 +27
+ Misses 311 309 -2 ☔ View full report in Codecov by Sentry. |
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.
Left some comments to address; but nothing major that blocks a merge.
f"HSCDataSet in {self.path} has the wrong group of filters for object {object_id}." | ||
) | ||
logger.warning(f"Dropping object {object_id} from the dataset.") | ||
msg = f"HSCDataSet in {self.path} has the wrong group of filters for object {object_id}." |
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.
Might be useful to mention that we are dropping this object explicitly
- Objects who have any cutouts not capable of providing enough pixels are pruned - data_loader:crop_to is the config where pixel values are specified - Not providing the config gives you the old auto-detect behavior where the largest size that will work for all images in the data path is chosen.
982e502
to
9cd3680
Compare
NOTE: This PR is based on #33 If you are reviewing review that one first.
Once PR 33 is merged the diff view on this will get much easier. For now look at the last commit's diff only (bc75191)
largest size that will work for all images in the data path is chosen.