Skip to content

MMCV instalation loophole between MMCV 1.7.2 and MMCV 2.0.0rc4  #151

@CrisTTT

Description

@CrisTTT

Hi everyone.

In trying to run ViTPose according to the instalation and running instructions, I keep banging my head against the same error again and again no matter the environment i use. The issue is the following:
... line 16, in
assert (mmcv_version >= digit_version(mmcv_minimum_version)
AssertionError: MMCV==1.7.2 is used but incompatible. Please install mmcv>=2.0.0rc4, <=3.0.0.

OR:

.local/lib/python3.10/site-packages/mmpose/init.py", line 10, in
mmcv_version = digit_version(mmcv.version)
AttributeError: module 'mmcv' has no attribute 'version'

Currently I am running a WSL Ubuntu 22.04 in Pycharm, I also tried with the normal pycharm venv. Python 3.8 (I also tried 3.7) cuda 11.8, torch 2.1.0 +cu118 torchvision 0.16.0+cu118

I believe there might be something wrong with the mmpose mmcv/mmcv-full versioning/naming?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions