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

PPYOLO: ImportError: cannot import name 'deform_conv_cuda' from 'yolodet.ops.dcn' #5

Open
lyss111 opened this issue Nov 6, 2020 · 3 comments

Comments

@lyss111
Copy link

lyss111 commented Nov 6, 2020

No description provided.

@lyss111
Copy link
Author

lyss111 commented Nov 6, 2020

新建了一个虚拟环境,用python setup.py develop编译DCN时 :RuntimeError: The NVIDIA driver on your system is too old (found version 10020). 我这版本也不老啊😢
用pip install -v -e .编译DCN时 InstallationError: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

@wuzhihao7788
Copy link
Owner

No description provided.

这个问题应该是DCN的pytroch cuda包没有编译成功,建议你将环境卸载,build文件包和yolodet/ops/dcn下的.os文件删除重新编译。

@wuzhihao7788
Copy link
Owner

新建了一个虚拟环境,用python setup.py develop编译DCN时 :RuntimeError: The NVIDIA driver on your system is too old (found version 10020). 我这版本也不老啊😢
用pip install -v -e .编译DCN时 InstallationError: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

我的环境是显卡2080Ti cuda 10.2,编译没有问题。编译过程我也不是一次性成功的,也是反复三次成功的。需要慢慢尝试,不要慌张,做深度学习,解决环境问题,也是我们重要的技能之一哈

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

2 participants