Open urbanczyks opened 4 years ago
I also have this issue. Seems like maybe some necessary file is no longer included. Perhaps there is a way to use pytorch's nms instead https://pytorch.org/docs/stable/torchvision/ops.html
I think I figured out part of this. For me there were a bunch of files that pycharm indicated couldn't be found based on the default import paths in the project, so maybe there is just some __init__.py that is missing somewhere in the project. The missing imports referred to a bunch of stuff in centerNet-deep-sort/src/lib, including external.nms. Changing the import statements to properly point to these files, or writing a __init__ in the right locations should take care of the issue and allow python to find the files it's looking for.
I am guessing you guys are running python 3.7 Try this:
cd CenterNet/src/lib/external
make
have you solved this problem?
Did you try pip installing the repo? I think for me that's all this was, I just forgot to pip install.
I have a problem with file path for the imports I did change the CENTERNET_PATH accordingly, like int the instruction CENTERNET_PATH = '/home/ai/Downloads/centerNet-deep-sort-master/CenterNet/src/lib/'