【发布时间】:2021-12-29 03:41:48
【问题描述】:
我正在尝试在 SCRFD 中使用 mmdet 和 mmcv 进行人脸检测并遇到此错误:
mmcv_version = digit_version(mmcv.__version__)
AttributeError: module 'mmcv' has no attribute '__version__'
有小伙伴遇到过这个错误吗?
【问题讨论】:
标签: face-detection
我正在尝试在 SCRFD 中使用 mmdet 和 mmcv 进行人脸检测并遇到此错误:
mmcv_version = digit_version(mmcv.__version__)
AttributeError: module 'mmcv' has no attribute '__version__'
有小伙伴遇到过这个错误吗?
【问题讨论】:
标签: face-detection
我找到了答案:
对于火炬 1.8:
pip3 install mmcv-full==1.3.15 -f https://download.openmmlab.com/mmcv/dist/cu111/torch1.8.0/index.html
这个命令对我有用
【讨论】: