diffvg
diffvg copied to clipboard
CUDA Runtime Error: operation not supported at /data/home/username/diffvg/scene.cpp:35
I ran DiffVG in my project and I got an error with only one line of message: CUDA Runtime Error: operation not supported at /data/home/username/diffvg/scene.cpp:35
Here's my CUDA info returned by command nvcc -V: nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2020 NVIDIA Corporation Built on Wed_Jul_22_19:09:09_PDT_2020 Cuda compilation tools, release 11.0, V11.0.221 Build cuda_11.0_bu.TC445_37.28845127_0
最好仿着app里的例子来写,目前我用着只有直接优化可学习的坐标是能gpu反传梯度的,如果这个坐标由网络得到,就会报错,只能用.cpu()操作先迁到cpu上才行。 你可以试试
Hi @Jugg1er , have you solved this problem?