Commit be68e244 authored by ashaw596's avatar ashaw596 Committed by Francisco Massa
Browse files

Fix small Typo in RandomAffine comment (#563)

parent b51a2c31
...@@ -896,7 +896,7 @@ class RandomAffine(object): ...@@ -896,7 +896,7 @@ class RandomAffine(object):
Args: Args:
degrees (sequence or float or int): Range of degrees to select from. degrees (sequence or float or int): Range of degrees to select from.
If degrees is a number instead of sequence like (min, max), the range of degrees If degrees is a number instead of sequence like (min, max), the range of degrees
will be (-degrees, +degrees). Set to 0 to desactivate rotations. will be (-degrees, +degrees). Set to 0 to deactivate rotations.
translate (tuple, optional): tuple of maximum absolute fraction for horizontal translate (tuple, optional): tuple of maximum absolute fraction for horizontal
and vertical translations. For example translate=(a, b), then horizontal shift and vertical translations. For example translate=(a, b), then horizontal shift
is randomly sampled in the range -img_width * a < dx < img_width * a and vertical shift is is randomly sampled in the range -img_width * a < dx < img_width * a and vertical shift is
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment