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

FADC_only需要的mmcv版本问题 #24

Open
sibetlyf opened this issue Dec 24, 2024 · 3 comments
Open

FADC_only需要的mmcv版本问题 #24

sibetlyf opened this issue Dec 24, 2024 · 3 comments

Comments

@sibetlyf
Copy link

目前显卡只支持mccv2.0及以上版本,运行FADC_only时会报错ImportError: DLL load failed while importing _ext: 找不到指定的程序。
请问有什么解决办法吗

@Linwei-Chen
Copy link
Owner

感谢关注!该代码是在3090上开发的,使用1.x的mmcv。
可以参考 https://mmcv.readthedocs.io/zh-cn/2.x/get_started/installation.html 完整安装mmcv-full试一试,例如
pip install mmcv==2.0.0rc3 -f https://download.openmmlab.com/mmcv/dist/cu117/torch1.13/index.html

@sibetlyf
Copy link
Author

感谢您的建议,在安装2.0版本的mmcv后,需要对
from mmcv.ops.modulated_deform_conv import ModulatedDeformConv2d, modulated_deform_conv2d, ModulatedDeformConv2dPack, CONV_LAYERS
进行修改,2.0版本的对应操作在
’mmcv.ops‘中,且CONV_LAYERS改为了’Conv2d‘

@Linwei-Chen
Copy link
Owner

感谢您的信息,祝实验顺利✨

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