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

ENH: HEDJitter update #643

Merged
merged 5 commits into from
Oct 28, 2022
Merged

ENH: HEDJitter update #643

merged 5 commits into from
Oct 28, 2022

Conversation

maxilse
Copy link
Contributor

@maxilse maxilse commented Oct 27, 2022

Updated the HEDjitter augmentation to reflect the update in https://github.com/scikit-image/scikit-image/blob/main/skimage/color/colorconv.py#L1463-L1504

In addition, I included a normalization step. Our implementation is now following exactly https://github.com/gatsby2016/Augmentation-PyTorch-Transforms/blob/master/myTransforms.py while using only Pytorch (instead of skimage).

@codecov
Copy link

codecov bot commented Oct 27, 2022

Codecov Report

Merging #643 (f24af4f) into transfer_main (431ff27) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

Flag Coverage Δ
hi-ml 82.48% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
hi-ml/src/health_ml/utils/data_augmentations.py 95.45% <100.00%> (+0.16%) ⬆️

@maxilse maxilse enabled auto-merge (squash) October 27, 2022 13:49
@maxilse maxilse merged commit 21c30d8 into transfer_main Oct 28, 2022
@maxilse maxilse deleted the maxilse/hedjitter_update branch October 28, 2022 10:32
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.

None yet

2 participants