sniklaus / 3d-ken-burns

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

run python autozoom.py --in ./images/doublestrike.jpg --out ./autozoom.mp4 error #60

Closed DAVID-Hown closed 2 years ago

DAVID-Hown commented 2 years ago

root@train-292378-worker-0:/DATA/jupyter/share/haodawei/improved-kbe# python autozoom.py --in ./images/doublestrike.jpg --out ./videos/autozoom.mp4 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 67, in cupy._util.memoize.decorator.ret File "", line 293, in launch_kernel IndexError: list index out of range

DAVID-Hown commented 2 years ago

solved

sniklaus commented 2 years ago

Apologies for not having responded yet. For anyone else getting this error, it came from the following line.

https://github.com/sniklaus/3d-ken-burns/blob/b2506ea5a204df3c30b2c53124374299d74415fa/common.py#L293

So @DAVID-Hown probably had to either adjust that (or make sure that the CUDA toolkit is installed in the first place).