DAVAR-Lab-OCR icon indicating copy to clipboard operation
DAVAR-Lab-OCR copied to clipboard

Problem with Offline Inference and Evaluation

Open Kehindeajayi01 opened this issue 2 years ago • 7 comments

I am trying to run the test_pub.py on the pubtabnet datasets as given in your description but I get the error below: Screen Shot 1400-10-06 at 12 47 53

Kehindeajayi01 avatar Dec 27 '21 17:12 Kehindeajayi01

Have you run the setup.sh script? It will automatically install all the dependencies including 'mmdet' and 'mmcv'.

qiaoliang6 avatar Dec 29 '21 10:12 qiaoliang6

Have you run the setup.sh script? It will automatically install all the dependencies including 'mmdet' and 'mmcv'.

I just ran the setup.sh script but I still get the error below: Screen Shot 2021-12-29 at 9 05 26 AM

Kehindeajayi01 avatar Dec 29 '21 17:12 Kehindeajayi01

use mmcv-full==1.4.0. this would fix the issue

sindhurk avatar Dec 31 '21 03:12 sindhurk

use mmcv-full==1.4.0. this would fix the issue

I tried changing the mmcv-full in setup.sh to 1.4.0 and running the setup.sh script again, but I got the error below during installation:

Screen Shot 2022-01-01 at 11 15 38 AM

Kehindeajayi01 avatar Jan 01 '22 19:01 Kehindeajayi01

If the mmcv cannot be intalled by PIP, you may find some solutions from the official repository.

I'm not sure if mmcv-full-1.4.0 is matched with mmdetection-2.11.0. mmcv-full-1.3.4 works well in my setting.

qiaoliang6 avatar Jan 03 '22 12:01 qiaoliang6

If the mmcv cannot be intalled by PIP, you may find some solutions from the official repository.

I'm not sure if mmcv-full-1.4.0 is matched with mmdetection-2.11.0. mmcv-full-1.3.4 works well in my setting.

I managed to install the mmcv-full-1.4.0 but I still get the same error of: No module named 'mmcv._ext'

Kehindeajayi01 avatar Jan 05 '22 16:01 Kehindeajayi01

you should decrease version mmcv-1.2.4. It worked for me

C0NGTRI123 avatar Apr 21 '23 09:04 C0NGTRI123