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
The doc of RandomRotation() says that the range of degrees parameter is (min, max) and (-degrees, +degrees) as shown below but actually, the values of degrees parameter are inclusive:
Parameters:
degrees (sequence or number) – Range of degrees to select from. If degrees is a number instead of sequence like (min, max), the range of degrees will be (-degrees, +degrees).
Suggest a potential alternative/fix
So they should be [min, max] and [-degrees, +degrees] as shown below:
Parameters:
degrees (sequence or number) – Range of degrees to select from. If degrees is a number instead of sequence like [min, max], the range of degrees will be [-degrees, +degrees].
The text was updated successfully, but these errors were encountered:
📚 The doc issue
The doc of
RandomRotation()
says that the range ofdegrees
parameter is(min, max)
and(-degrees, +degrees)
as shown below but actually, the values ofdegrees
parameter are inclusive:Suggest a potential alternative/fix
So they should be
[min, max]
and[-degrees, +degrees]
as shown below:The text was updated successfully, but these errors were encountered: