【问题标题】:module 'mmcv' has no attribute '__version__模块 'mmcv' 没有属性 '__version__
【发布时间】:2021-12-29 03:41:48
【问题描述】:

我正在尝试在 SCRFD 中使用 mmdet 和 mmcv 进行人脸检测并遇到此错误:

 mmcv_version = digit_version(mmcv.__version__)
 AttributeError: module 'mmcv' has no attribute '__version__'

有小伙伴遇到过这个错误吗?

【问题讨论】:

    标签: face-detection


    【解决方案1】:

    我找到了答案:

    对于火炬 1.8:

    pip3 install mmcv-full==1.3.15 -f https://download.openmmlab.com/mmcv/dist/cu111/torch1.8.0/index.html
    

    这个命令对我有用

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-08-25
      • 2018-10-22
      • 2021-03-09
      • 2021-10-02
      • 2021-02-24
      • 2021-11-24
      • 2018-09-18
      • 2021-05-13
      相关资源
      最近更新 更多