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
I discovered this problem with equalization while trying to add changes for my AugMix PR. It was already known that the Equalization layer gets retraced on every call. While trying to find the reason, I realized how this problem persists even when all operations inside augment_image are removed (i.e. augment_image simply returns the input). This seems to be an issue with BaseImageAugmentationLayer. The strange part is that some of the other layers I tested (FourierMix, Posterization, and Solarization) don't share this issue.
Steps to reproduce:
Edit the Equalization.augment_image function to:
I discovered this problem with equalization while trying to add changes for my AugMix PR. It was already known that the Equalization layer gets retraced on every call. While trying to find the reason, I realized how this problem persists even when all operations inside
augment_image
are removed (i.e.augment_image
simply returns the input). This seems to be an issue withBaseImageAugmentationLayer
. The strange part is that some of the other layers I tested (FourierMix, Posterization, and Solarization) don't share this issue.Steps to reproduce:
Edit the
Equalization.augment_image
function to:and call the layer multiple times (I just used a loop to repeatedly called it on the same image batch)
The text was updated successfully, but these errors were encountered: