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

Unable to run your test_pub script

Open Kehindeajayi01 opened this issue 2 years ago • 8 comments

Hi, Thanks for making your work open to the public. I was trying to run your test_pub on your data but was running into the error below: Screen Shot 1401-01-08 at 10 56 47

The error is coming from the "builder.py" script in davar_common/models . There is no function called "build" in the mmdet.models

Please can you help out? Thanks

Kehindeajayi01 avatar Mar 28 '22 15:03 Kehindeajayi01

Hi, Thanks for making your work open to the public. I was trying to run your test_pub on your data but was running into the error below: Screen Shot 1401-01-08 at 10 56 47

The error is coming from the "builder.py" script in davar_common/models . There is no function called "build" in the mmdet.models

Please can you help out? Thanks

which version of mmdet do you use?

qiaoliang6 avatar Mar 29 '22 01:03 qiaoliang6

Hi, Thanks for making your work open to the public. I was trying to run your test_pub on your data but was running into the error below: Screen Shot 1401-01-08 at 10 56 47 The error is coming from the "builder.py" script in davar_common/models . There is no function called "build" in the mmdet.models Please can you help out? Thanks

which version of mmdet do you use?

mmdet==2.22.0

Kehindeajayi01 avatar Mar 29 '22 16:03 Kehindeajayi01

please use mmdet==2.11.0

qiaoliang6 avatar Mar 30 '22 01:03 qiaoliang6

please use mmdet==2.11.0

I am now using mmdet==2.11.0 and mmcv-full==1.3.4 but I am getting another error.

Screen Shot 1401-01-11 at 10 11 00

Kehindeajayi01 avatar Mar 31 '22 14:03 Kehindeajayi01

We are not very clear about the problem of mmcv. Could you set up a demo only using the specific version mmdet and mmcv? Some solutions might be found in their repository.

qiaoliang6 avatar Apr 01 '22 01:04 qiaoliang6

We are not very clear about the problem of mmcv. Could you set up a demo only using the specific version mmdet and mmcv? Some solutions might be found in their repository.

The other version (mmdet==2.22.0 and mmcv-full==1.4.7) works well but that will result in import error from your builder.py script as mmdet==2.22.0 does not contain the function "build". Is there a way to work around it?

Kehindeajayi01 avatar Apr 04 '22 14:04 Kehindeajayi01

We are not very clear about the problem of mmcv. Could you set up a demo only using the specific version mmdet and mmcv? Some solutions might be found in their repository.

The other version (mmdet==2.22.0 and mmcv-full==1.4.7) works well but that will result in import error from your builder.py script as mmdet==2.22.0 does not contain the function "build". Is there a way to work around it?

The mmdet and mmcv has a strict corresponding relationship in version. After mmdet>2.12.0,they move some of the function "build" from mmdet into mmcv. So, if using the higher version of mmdet, there will be some error happens. You might need to refactor some of the code in builder-registry. the code related to the model does not need to be modified.

qiaoliang6 avatar Apr 20 '22 03:04 qiaoliang6

torch1.8+cuda11.1+mmdet2.11.0+mmcv-full1.4.0+vs2019!!

zpf1095 avatar Dec 14 '22 03:12 zpf1095