Skip to content

Commit be68e24

Browse files
ashaw596fmassa
authored andcommitted
Fix small Typo in RandomAffine comment (#563)
1 parent b51a2c3 commit be68e24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchvision/transforms/transforms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ class RandomAffine(object):
896896
Args:
897897
degrees (sequence or float or int): Range of degrees to select from.
898898
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.
899+
will be (-degrees, +degrees). Set to 0 to deactivate rotations.
900900
translate (tuple, optional): tuple of maximum absolute fraction for horizontal
901901
and vertical translations. For example translate=(a, b), then horizontal shift
902902
is randomly sampled in the range -img_width * a < dx < img_width * a and vertical shift is

0 commit comments

Comments
 (0)