Centernet: Using CenterNet with Torch 1.x

Created on 2 Nov 2019  路  10Comments  路  Source: xingyizhou/CenterNet

Has anyone had any experience / success porting CenterNet to work with PyTorch 1.0 or higher? From the attempts I've done there seems to be errors with a missing Nvidia library link every time. Please let me know!

Most helpful comment

And I use https://github.com/CharlesShang/DCNv2.git replace your code
pytorch1.2 cuda10.0
is ok!!!!!!!!!!!!!!!!!!!

All 10 comments

And I use https://github.com/CharlesShang/DCNv2.git replace your code
pytorch1.2 cuda10.0
is ok!!!!!!!!!!!!!!!!!!!

@mathpopo HI! Did you just simply replace the CenterNet/src/lib/models/networks/DCNv2 directory with the pytorch1.0 version of DCNv2 taht you linked above? Does it generate the models.networks.DCNv2._ext module as well which is reguired to run for example the demo.py script?

@LaCandela yes, i just mv the old DCNv2 file folder,replace the new git code ,left else operations also as same as before.

@mathpopo After I simply replace the CenterNet/src/lib/models/networks/DCNv2 directory, the command line returns the Segmentation fault (core dumped) error. Could you help me?

@mathpopo thanks, it works fine!
with pytorch1.2 cuda10.0

excuse me,dose anyone have this issue:ModuleNotFoundError: No module named '_ext'?

@kp-1 Did you install the deformable convolution repo?

Yeah i just got that issue.

Thank you very much!!! I pass it~

Was this page helpful?
0 / 5 - 0 ratings