Search code examples
face-detection

module 'mmcv' has no attribute '__version__


I'm trying to use mmdet and mmcv in SCRFD for face detection and face this error:

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

Has any buddy hit this error before?


Solution

  • I found the answer:

    for torch 1.8 :

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

    this command worked for me