DevashishPrasad / CascadeTabNet

This repository contains the code and implementation details of the CascadeTabNet paper "CascadeTabNet: An approach for end to end table detection and structure recognition from image-based documents"
MIT License
1.46k stars 422 forks source link

AssertionError: MMCV==0.4.3 is used but incompatible. Please install mmcv>=1.3.17, <=1.7.0. #171

Open np-n opened 1 year ago

np-n commented 1 year ago

I am trying to run the Cascade_TabNet_Demo.ipynb notebook but It throws an AssertionError i.e AssertionError: MMCV==0.4.3 is used but incompatible. Please install mmcv>=1.3.17, <=1.7.0..To fix it, I tried to install mmcv==1.3.17 but again ended with ModuleNotFoundError i.e ModuleNotFoundError: No module named 'mmcv._ext' error. Do you have any idea to fix it? Thank you!

harishbattula commented 1 year ago

I got the same error! Have you resolved it by any means..?

np-n commented 1 year ago

I fixed it by installing mmcv-full instead of mmcv . Try it: !pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu111/torch1.8.0/index.html

Quanult commented 11 months ago

Hi @np-n , I tried to install mmcv-full, but after that, I run the inference code and get this error: ModuleNotFoundError: No module named 'mmcv.parallel' I find out that it could be removed from the new version of mmcv. Have you got this?