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
With this piece of code, we make sure that the augmentation is provided with a probability of 0.5. In the paper, it is written that the horizontal flip is done with a probability of 0.5 and then the random crops are taken (assuming with a probability of 1, ie all the time).
For data augmentation, we flipped the images horizontally with a probability of 0.5, resized them to 286 x 286, and random cropped them to 256 x 256.
With the implementation of the code, the statement in the paper becomes untrue, here the horizontal flip probability becomes 0.5*0.5=0.25 and the random crop probability becomes 0.5.
Is this intended behaviour?
The text was updated successfully, but these errors were encountered:
UGATIT/utils.py
Lines 23 to 24 in d508e8f
With this piece of code, we make sure that the augmentation is provided with a probability of
0.5
. In the paper, it is written that the horizontal flip is done with a probability of0.5
and then the random crops are taken (assuming with a probability of1
, ie all the time).With the implementation of the code, the statement in the paper becomes untrue, here the horizontal flip probability becomes
0.5*0.5=0.25
and the random crop probability becomes0.5
.Is this intended behaviour?
The text was updated successfully, but these errors were encountered: