yolodet-pytorch icon indicating copy to clipboard operation
yolodet-pytorch copied to clipboard

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

Open lyss111 opened this issue 4 years ago • 3 comments

lyss111 avatar Nov 06 '20 03:11 lyss111

新建了一个虚拟环境,用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.

lyss111 avatar Nov 06 '20 03:11 lyss111

No description provided.

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

wuzhihao7788 avatar Nov 06 '20 03:11 wuzhihao7788

新建了一个虚拟环境,用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,编译没有问题。编译过程我也不是一次性成功的,也是反复三次成功的。需要慢慢尝试,不要慌张,做深度学习,解决环境问题,也是我们重要的技能之一哈

wuzhihao7788 avatar Nov 06 '20 03:11 wuzhihao7788