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

AttributeError: 'NoneType' object has no attribute 'get_function' #57

Closed momalave closed 2 years ago

momalave commented 2 years ago

When running "python autozoom.py --in ./images/doublestrike.jpg --out ./autozoom.mp4", I get the following error:

Traceback (most recent call last): File "autozoom.py", line 89, 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 296, in launch_kernel AttributeError: 'NoneType' object has no attribute 'get_function'

Any thoughts for how to fix this?

sniklaus commented 2 years ago

You are hitting this bug in CuPy which you should be able to resolve be using an older CuPy version: https://github.com/cupy/cupy/issues/6231

momalave commented 2 years ago

Thanks for the quick response! I will try using an older version of cupy.