aounullah
aounullah
Reproduced on Windows 11, Python 3.12, torch 2.15.0+cpu, torchvision 0.29.2+cpu, CPU: loss 1.2832, gradient tensor([[nan, nan, nan, nan]]). So it isn’t specific to CUDA. @tritsystem, are you planning to open...
Thanks again @tritsystem! Opened #9750 with your fix, credited to you.
Thanks for offering, @Hirata-Origami ! Yes, I’m planning to I’ll open a PR in the next couple of days. I’ll go with leaving an image with a one-pixel side unchanged,...
Quick update: the fix is ready, with tests for v1 and v2: https://github.com/pytorch/vision/compare/main...aounullah:vision:fix/perspective-one-pixel It returns the input unchanged when a side is one pixel (v1 in forward, v2 via make_params/transform)....