open-mmlab / mmflow

OpenMMLab optical flow toolbox and benchmark
https://mmflow.readthedocs.io/en/latest/
Apache License 2.0
965 stars 116 forks source link

Are there any versions of MMCV that could support both MMflow and MMpose at the same time? Or do you have any other solution for this? #295

Open Yangxinyee opened 11 months ago

Yangxinyee commented 11 months ago

I am trying to combine the two projects for some tasks. However, I found that MMpose and MMflow required different versions of mmcv.

I installed mmcv-full as the document says, and when I tried to run a demo of MMpose: error: AssertionError: MMCV==1.7.1 is used but incompatible. Please install mmcv>=2.0.0rc4, <=2.2.0.

Then I tried installed mmcv 2.1.0, and when I ran a demo of MMflow: error: AssertionError: MMCV==2.1.0 is used but incompatible. Please install mmcv>=1.3.15, <1.8.0.

The versions of mmcv required by the two projects appear to conflict. It seems like a problem difficult to solve. And I really hope that you could help me run MMflow and MMpose in one same python envrionment!

Are there any versions of MMCV that could support both MMflow and MMpose at the same time? Or do you have any other solutions for this?

Really appreciate!