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.47k stars 422 forks source link

No module named 'mmcv._ext' #82

Open AshishGupta1992 opened 3 years ago

AshishGupta1992 commented 3 years ago

I am trying to run the main.py file in my windows and facing the attached error. I have installed all the mentioned libraries. Issue

Please let me know if someone has faced this issue and how can i resolve it.

Atul997 commented 3 years ago

Install the 0.4.3 version of mmcv. pip install mmcv==0.4.3

luke4u commented 3 years ago

Hi @Atul997 , I got the same error frommmcv = 1.0.5. But if install 0.4.3, mmdet requires to have 1.0.5. So wondering which mmdet version do you need? I have mmdet ==2.3.0

Atul997 commented 3 years ago

Try it with mmdet==1.2.0!

luke4u commented 3 years ago

@Atul997 , there seems no distribution for mmdet==1.2.0. See this link https://pypi.org/project/mmdet/#history

EHadoux commented 3 years ago

Yep, you need to clone the Github repo and compile the project. Or at lease that's what is done in the colab notebook.