GaNDLF
GaNDLF copied to clipboard
added augmentation for hed
Proposed Changes
- Added H&E based augmentations for Histopathology images (can be used for other RGB images)
- Solves #510
Checklist
- [x] I have read the
CONTRIBUTING
guide - [x] My PR is based from the current GaNDLF master
- [x] Non-breaking change (does not break existing functionality): provide as many details as possible for any breaking change
- [x] Function/class source code documentation added/updated
- [x] Code has been blacked for style consistency
- [x] If applicable, version information has been updated in GANDLF/version.py
- [x] If adding a git submodule, add to list of exceptions for black styling in pyproject.toml file
- [ ] Usage documentation has been updated, if appropriate
- [x] History has been updated, if appropriate
- [x] Tests added or modified to cover the changes; if coverage is reduced, please give explanation
- [x] If customized dependency installation is required (i.e., a separate
pip install
step 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,4]
MLCommons CLA bot:
Thank you very much for your submission, we really appreciate it. Before we can accept your contribution, we ask that you sign the MLCommons CLA (Apache 2). Please use this [Google form] (https://forms.gle/Ew1KkBVpyeJDuRw67) to initiate authorization. If you are from an MLCommons member organization, we will request that you be added to the CLA. If you are not from a member organization, we will email you a CLA to sign. For any questions, please contact [email protected].
0 out of 1 committers have signed the MLCommons CLA.
:x: @Geeks-Sid
You can retrigger this bot by commenting recheck in this Pull Request
Codecov Report
Merging #509 (9d545be) into master (f98bf01) will decrease coverage by
1.69%
. The diff coverage is22.89%
.
@@ Coverage Diff @@
## master #509 +/- ##
==========================================
- Coverage 93.60% 91.91% -1.70%
==========================================
Files 106 107 +1
Lines 6724 6886 +162
==========================================
+ Hits 6294 6329 +35
- Misses 430 557 +127
Flag | Coverage Δ | |
---|---|---|
unittests | 91.91% <22.89%> (-1.70%) |
:arrow_down: |
Flags with carried forward coverage won't be shown. Click here to find out more.
Impacted Files | Coverage Δ | |
---|---|---|
GANDLF/data/augmentation/rgb_augs.py | 35.46% <18.97%> (-64.54%) |
:arrow_down: |
GANDLF/parseConfig.py | 74.77% <20.00%> (-2.56%) |
:arrow_down: |
GANDLF/utils/exceptions.py | 61.53% <61.53%> (ø) |
|
GANDLF/data/augmentation/__init__.py | 100.00% <100.00%> (ø) |
|
...NDLF/data/preprocessing/template_matching/utils.py | 97.67% <0.00%> (+2.32%) |
:arrow_up: |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more