mirror of
https://github.com/TencentARC/GFPGAN.git
synced 2026-02-14 13:24:36 +00:00
RuntimeError: Could not run 'torchvision::roi_align' with arguments from the 'CUDA' backend. #8
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lxy2017 on GitHub (Jun 21, 2021).
When I train the code, I get the following error
RuntimeError: Could not run 'torchvision::roi_align' with arguments from the 'CUDA' backend. 'torchvision::roi_align' is only available for these backends: [CPU, BackendSelect, Named, AutogradOther, AutogradCPU, AutogradCUDA, AutogradXLA, AutogradPrivateUse1, AutogradPrivateUse2, AutogradPrivateUse3, Tracer, Autocast, Batched, VmapMode].
@xinntao commented on GitHub (Jun 23, 2021):
I have not encountered this issue.
May check the torchvision ? (the version in my env is torchvision 0.8.2)
@lxy2017 commented on GitHub (Jun 24, 2021):
Thanks!
It works for torchvision 0.8.2