sniklaus / 3d-ken-burns

an implementation of 3D Ken Burns Effect from a Single Image using PyTorch
Other
1.51k stars 224 forks source link

Error when trying to generate from the image #32

Closed miaodd98 closed 4 years ago

miaodd98 commented 4 years ago

Hello! I'm interested in your work and try to use your code to generate a 3D Ken Burns video. But there is a problem when I try to generate it. My cuda version is 10.2 and all other packs has been installed. The environment is Win 10. The error is below:

Traceback (most recent call last): File "autozoom.py", line 88, in 'objFrom': objFrom File "", line 116, in process_autozoom File "", line 433, in render_pointcloud File "cupy\util.pyx", line 81, in cupy.util.memoize.decorator.ret File "", line 293, in launch_kernel IndexError: list index out of range

I wonder why this happens and hope for your reply. Thanks a lot! BTW, I'm curious about the training method. If there is any possibility for you to release the training code. Just asking.

miaodd98 commented 4 years ago

Problem solved. In Win10, CUDA_HOME environment variable is called CUDA_PATH. Change every CUDA_HOME to CUDA_PATH if your system is Win10 in common.py line 292 to 296.

sniklaus commented 4 years ago

I am happy you ended up figuring it out, and thank you for sharing how you fixed it!

jackiemar commented 2 years ago

Problem solved. In Win10, CUDA_HOME environment variable is called CUDA_PATH. Change every CUDA_HOME to CUDA_PATH if your system is Win10 in common.py line 292 to 296.

thanks, it has help me solving the same problem! haha, then I change the system variable from "CUDA_PATH" TO "CUDA_HOME";(not recommended) Image 002