-
Notifications
You must be signed in to change notification settings - Fork 89
Added option to bias the patch extraction for label sampler #771
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
Added option to bias the patch extraction for label sampler #771
Conversation
|
MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅ |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #771 +/- ##
==========================================
- Coverage 94.70% 94.68% -0.03%
==========================================
Files 117 117
Lines 8240 8252 +12
==========================================
+ Hits 7804 7813 +9
- Misses 436 439 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
Please update the tests to ensure new lines are covered before opening this PR for review. |
…n-for-label-sampler
…-extraction-for-label-sampler
|
@sarthakpati - the OpenFL tests seem to be broken, and need a separate PR (in addition to #772). |
|
This is ready for review, but I am unsure how to proceed WRT the failing OpenFL tests. |
sarthakpati
left a comment
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.
LGTM
Fixes #767
Proposed Changes
"patch_sampler"key in config is now a dict, where multiple options can be passed in (such as"enable_padding","padding_mode", and so on)parseConfigupdated to include defaults forpatch_samplerclass_weightsare used to bias the label samplerChecklist
CONTRIBUTINGguide.pip installstep is needed for PR to be functional), please ensure it is reflected in all the files that control the CI, namely: python-test.yml, and all docker files [1,2,3].