ckkelvinchan / BasicVSR_PlusPlus

Official repository of "BasicVSR++: Improving Video Super-Resolution with Enhanced Propagation and Alignment"
Apache License 2.0
568 stars 63 forks source link

How to fix mmcv version incompatible issue on Colab #27

Closed b06901089 closed 1 year ago

b06901089 commented 1 year ago

Hi I ran the colab notebook and ran into this error. AssertionError: mmcv==1.7.1 is used but incompatible. Please install mmcv-full>=(1, 3, 13, 0, 0, 0), <=(1, 6, 0, 0, 0, 0).

mmcv version seems to directly related to CUDA version. I could not install old version of mmcv-full without countering the "Building wheel for mmcv-full (setup.py) ..." issue. Is there a way to work around?

Thank you!

frogbone1 commented 1 year ago

also getting this error locally and noticed that mmedit/__init__.py calls for an mmcv version between 1.3.13 and 1.6. updating line 23 of __init__.py to the current mmcv version, 1.7.1, seems not to be immediately catastrophic as far as i can tell

b06901089 commented 1 year ago

Actually, Using older version of pytorch(==1.9.0) allows me to install mmcv-full between 1.3.13 and 1.6.