We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b51a2c3 commit be68e24Copy full SHA for be68e24
torchvision/transforms/transforms.py
@@ -896,7 +896,7 @@ class RandomAffine(object):
896
Args:
897
degrees (sequence or float or int): Range of degrees to select from.
898
If degrees is a number instead of sequence like (min, max), the range of degrees
899
- will be (-degrees, +degrees). Set to 0 to desactivate rotations.
+ will be (-degrees, +degrees). Set to 0 to deactivate rotations.
900
translate (tuple, optional): tuple of maximum absolute fraction for horizontal
901
and vertical translations. For example translate=(a, b), then horizontal shift
902
is randomly sampled in the range -img_width * a < dx < img_width * a and vertical shift is
0 commit comments