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 expect to get the same values. As far as I can tell, the problem is with RandomResizedCropRGBImageDecoder in the pipeline. I believe the original images selected in the batch are always the same and are in the same order. But it seems to me that the decoder gets applied in a multiprocessing setup, maybe not in the same order or not respecting the seed and as a result randomly crops differently each time. If I use e.g. CenterCropRGBImageDecoder and RandomHorizontalFlip, I get reproducible behavior.
Would it be possible to address this?
The text was updated successfully, but these errors were encountered:
Hi,
I am failing to get reproducible behavior with the help of fixing the seed parameter. I've tried
It prints different results:
I expect to get the same values. As far as I can tell, the problem is with
RandomResizedCropRGBImageDecoder
in the pipeline. I believe the original images selected in the batch are always the same and are in the same order. But it seems to me that the decoder gets applied in a multiprocessing setup, maybe not in the same order or not respecting the seed and as a result randomly crops differently each time. If I use e.g.CenterCropRGBImageDecoder
andRandomHorizontalFlip
, I get reproducible behavior.Would it be possible to address this?
The text was updated successfully, but these errors were encountered: