-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Open
Description
In Torchvision stable API, there are 2 ops: affine and rotate that has angle
as parameter.
However, positive angle
parameter in F.affine
op performs clockwise rotation.
vision/torchvision/transforms/functional.py
Line 1092 in 8aadef5
angle (number): rotation angle in degrees between -180 and 180, clockwise direction. |
while in F.rotate
it is an opposite meaning, it does counter clockwise rotation:
vision/torchvision/transforms/functional.py
Line 1004 in 8aadef5
angle (number): rotation angle value in degrees, counter-clockwise. |
For Detectron2, Pillow or albumentations, they do counter clockwise rotation for positive angle value.
Question: Should we align F.affine
op to perform counter clockwise rotation for positive angle value ?
voldemortX