You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.
I think some changes were unintentionally made to the "random_channel_shift" function from Keras 2.1.6 to Keras 2.2.0 (the separate preprocessing lib). Please check this PR if I am wrong. Thanks.
I think there was a mistake with the code. If you input some large value like 200.0, it will produce real channel shifts like mentioned here under "Old Channel_Shift Images(cifar10)": #223
However, it should be using a float between 0 and 1 rather than a large absolute value.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello! While runnning keras-preprocessing(master)/image.py/random_channel_shift, I thought it was different from the expected channel_shift behavior.
I think that the expected channel shift movement is old.
Original Images(cifar10)
Latest Channel_Shift Images(cifar10)
keras-preprocessing(master)/image.py/random_channel_shift
Old Channel_Shift Images(cifar10)
keras-preprocessing(old)/image.py/random_channel_shift
The text was updated successfully, but these errors were encountered: