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
This is ugly. As we discussed offline, we could take the approach of aligning the two AND on the layer that will ensures BC between new and old API, we could add a method that does the conversion and a deprecation warning. I would probably leave this for after the API is completed.
I agree that we should align. Just to make sure that we are on the same page: you want positive angles on the affine_image kernel to mean CCW rotation, and switch the sign for F.affine, correct?
In Torchvision stable API, there are 2 ops: affine and rotate that has
angle
as parameter.However, positive
angle
parameter inF.affine
op performs clockwise rotation.vision/torchvision/transforms/functional.py
Line 1092 in 8aadef5
while in
F.rotate
it is an opposite meaning, it does counter clockwise rotation:vision/torchvision/transforms/functional.py
Line 1004 in 8aadef5
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 ?cc @vfdev-5 @datumbox
The text was updated successfully, but these errors were encountered: