Closed Andrew05200 closed 3 years ago
Hi @Andrew05200, Have to installed mmdetection and other dependencies properly, by following the steps given here. It seems like your code is not able to initialize the db_resnext.py file.
@mdv3101 Thanks for your kindly replay in so short time , I test mmdetection inference demo in my envs(mmcv ==1.2.4, mmdet==2.7.0) ,it run well, show as below. can you test you config file and checpoint file and share with us ? better in jupyter notebook. thanks a lot.
I have noticed that you are using a different version of mmcv and mmdet. Maybe you have compiled the official mmdetection repo. Kindly compile our repo, since db_resnext is available in this github repo only.
I have noticed that you are using a different version of mmcv and mmdet. Maybe you have compiled the official mmdetection repo. Kindly compile our repo, since db_resnext is available in this github repo only.
I have compiled mmcv==0.5.4 mmdet=2.0.0 as your repo required.
but when I compile your repo, I get the errorAssertionError: MMCV==0.5.4 is used but incompatible. Please install mmcv>=1.1.5, <=1.3.
.
(mmlab2) [root@ain-gpu05 table_detection]# cd CDeCNet/
(mmlab2) [root@ain-gpu05 CDeCNet]# pip install -v -e .
Using pip 20.3.3 from /root/anaconda3/envs/mmlab2/lib/python3.7/site-packages/pip (python 3.7)
Non-user install because site-packages writeable
Created temporary directory: /tmp/pip-ephem-wheel-cache-nx2ix25e
Created temporary directory: /tmp/pip-req-tracker-0q226kv5
Initialized build tracking at /tmp/pip-req-tracker-0q226kv5
Created build tracker: /tmp/pip-req-tracker-0q226kv5
Entered build tracker: /tmp/pip-req-tracker-0q226kv5
Created temporary directory: /tmp/pip-install-db8xhx38
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Obtaining file:///data/pxwang/project/table_detection/CDeCNet
Added file:///data/pxwang/project/table_detection/CDeCNet to build tracker '/tmp/pip-req-tracker-0q226kv5'
Running setup.py (path:/data/pxwang/project/table_detection/CDeCNet/setup.py) egg_info for package from file:///data/pxwang/project/table_detection/CDeCNet
Created temporary directory: /tmp/pip-pip-egg-info-0dtpiars
Running command python setup.py egg_info
Traceback (most recent call last):
File "
Hi @Andrew05200 , We are unable to reproduce your issue. We suggest you to try installing it on a new virtual environment.
I try to test an image use the config flie from https://github.com/mdv3101/CDeCNet/blob/master/configs/dcn/db_cascade_mask_rcnn_x101_fpn_dconv_c3-c5_1x_coco.py , and checkpoint file from your result table called "tablebank_sota.pth" (https://drive.google.com/file/d/1CGVE5IBaGL6Ssh7dKMv8csz3omezd_HX/view) , but get the error like this. can you give some advice ?