Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: module 'trilinear' has no attribute 'forward' #76

Open
sunyclj opened this issue Nov 22, 2022 · 3 comments
Open

AttributeError: module 'trilinear' has no attribute 'forward' #76

sunyclj opened this issue Nov 22, 2022 · 3 comments

Comments

@sunyclj
Copy link

sunyclj commented Nov 22, 2022

您好,在运行您的训练代码时,首先报了ModuleNotFoundError: No module named 'trilinear'这个错误,我通过pip安装trilinear后,再次运行报错AttributeError: module 'trilinear' has no attribute 'forward';当我卸载trilinear后,并且确保sh setup.sh运行成功,再次运行训练代码,报错ModuleNotFoundError: No module named 'trilinear';请问这种问题应该如何解决呢?是什么原因导致的?
备注运行环境:cuda10.2 pytorch1.8.1 python3.7

@sunyclj
Copy link
Author

sunyclj commented Nov 23, 2022

找到原因了,我的环境里同时间安装了python3.6、python3.7,运行sh setup.sh时,默认安装在python3.6的环境中,在python3.6中运行正常

@SuzumiyaHaluhi
Copy link

你好,请问具体怎么解决“ModuleNotFoundError: No module named 'trilinear'”这个错误?

@LauraABCD
Copy link

trilinear软件包可以提供一下吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants