wzk1015 / video-bgm-generation

[ACM MM 2021 Best Paper Award] Video Background Music Generation with Controllable Music Transformer
https://wzk1015.github.io/cmt/
MIT License
291 stars 34 forks source link

How to address TypeError: 'NoneType' object is not callable? #25

Open Zttt0523 opened 11 months ago

Zttt0523 commented 11 months ago

I use below to print the error message except ImportError as e: print(f"ImportError: {e}") causal_dot_product_cuda = causal_dot_backward_cuda = None it tells me ImportError: No module named 'fast_transformers.causal_product.causal_product_cuda' So I think the issue is that Python is unable to load the causal_product_cuda.cu file in the causal_product directory under the fast_transformers package. How can I resolve this?