-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[Feature] Support auto contrast #881
Conversation
Codecov Report
@@ Coverage Diff @@
## master #881 +/- ##
==========================================
+ Coverage 66.49% 66.59% +0.09%
==========================================
Files 145 145
Lines 8790 8816 +26
Branches 1600 1602 +2
==========================================
+ Hits 5845 5871 +26
Misses 2629 2629
Partials 316 316
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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
LGTM, can be merged after resolving comments. |
Hi,
In this pull request,
auto_contrast
is added for data augmentation. Pls kindly take a look. Thx.One thing to note is that in the implementation, the cut-off value can be a tuple as (low, high). However, setting low/high cut-offs differently is only supported by pillow above version 8.0.0, and in
build.yml
version 6.2.2 is installed. Therefore I explained it in the unittest and did not cover this part in the unittest. However I have tested them locally to ensure the implementation is correct and has the exact output as pillow 8.0.1 does.