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

mmcv 无法导入 DictAction, mmcv.runner无法导入init_dist #165

Closed
MintCoffeeCat opened this issue Jun 23, 2022 · 2 comments
Closed

Comments

@MintCoffeeCat
Copy link

torch版本1.3.1, CUDA版本10.1, mmcv通过pip install -r requirements.txt安装。cuda的PATH已配置,显卡驱动版本510.73.05满足CUDA10.1要求

@MintCoffeeCat
Copy link
Author

执行test.py时,报错ImportError: cannot import name 'init_dist' from 'mmcv.runner' (/home/yun/MyTools/Anaconda3/envs/ReDet/lib/python3.7/site-packages/mmcv/runner/init.py)

请问出现这个情况的原因是各种包的版本不匹配还是硬件导致的问题呢?我的显卡是1060

@MintCoffeeCat
Copy link
Author

已解决,重新安装正确版本的mmcv即可

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

1 participant