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
Replacing the float32 precision there with float64 should solve most problems. Note that this function probably should be remade, e.g. it does not currently give any error for inputting 3 points instead of 4.
Versions
torchvision 0.15.2
The text was updated successfully, but these errors were encountered:
馃悰 Describe the bug
Outputs something like:
tensor([ 9.6265e-01, -9.9404e-01, 5.1198e+02, -5.9690e-03, 9.4310e-01,
1.6095e+01, -1.1649e-05, -4.9741e-05])
Which is wrong, correct answer is:
tensor([ 1, -1, 512, 0, 1, 0, 0, 0])
Downstream issues, e.g. when using perspective:
Issue comes from this line:
vision/torchvision/transforms/functional.py
Line 686 in 806dba6
Replacing the float32 precision there with float64 should solve most problems. Note that this function probably should be remade, e.g. it does not currently give any error for inputting 3 points instead of 4.
Versions
torchvision 0.15.2
The text was updated successfully, but these errors were encountered: