binghuang21 / BM-Transformer

A Generative Model for Film and Television Soundtracks Enriched with Tune Elements
MIT License
1 stars 0 forks source link

TypeError: 'NoneType' object is not callable #1

Open marin797 opened 2 months ago

marin797 commented 2 months ago

请问你怎么解决这个问题的,在fast_transformers中,你是怎么解决 File "D:\anaconda3\envs\gen_music\lib\site-packages\fast_transformers\attention\causal_linear_attention.py", line 23, in causal_linear V_new = causal_dot_product(Q, K, V) File "D:\anaconda3\envs\gen_music\lib\site-packages\fast_transformers\causal_product__init__.py", line 48, in forward product TypeError: 'NoneType' object is not callable ![Uploading Snipaste_2024-06-01_16-52-42.png…]()

binghuang21 commented 2 months ago

卸载fast_transformers,重新用pip install –user pytorch-fast-transformers 再次尝试安装,可以尝试在pip安装fast_transformer的时候加 --no-cache-dir参数

marin797 commented 2 months ago

卸载fast_transformers,重新用pip install –user pytorch-fast-transformers 再次尝试安装,可以尝试在pip安装fast_transformer的时候加 --no-cache-dir参数

可以分享一下你的cuda和torch版本吗?我用别人的whl文件才安装上的

marin797 commented 2 months ago

卸载fast_transformers,重新用pip install –user pytorch-fast-transformers 再次尝试安装,可以尝试在pip安装fast_transformer的时候加 --no-cache-dir参数

可以分享一下你的cuda和torch版本吗?我用别人的whl文件才安装上的

卸载fast_transformers,重新用pip install –user pytorch-fast-transformers 再次尝试安装,可以尝试在pip安装fast_transformer的时候加 --no-cache-dir参数

老哥,加个v吧,我被这问题困了两周了。麻烦加我一下也行15168876029

marin797 commented 2 months ago

卸载fast_transformers,重新用pip install –user pytorch-fast-transformers 再次尝试安装,可以尝试在pip安装fast_transformer的时候加 --no-cache-dir参数

有偿!麻烦您了!!!