megvii-model / CrowdDetection

Apache License 2.0
273 stars 44 forks source link

Erro when compiling #8

Open Jav9710 opened 2 years ago

Jav9710 commented 2 years ago

Hi, when i make sh ./setup.sh i get this error

nms.cu:1:10: fatal error: megbrain_pubapi.h: No such file or directory

include "megbrain_pubapi.h"

      ^~~~~~~~~~~~~~~~~~~

compilation terminated.

How can i fix it?

yexiguafuqihao commented 2 years ago

You can directly remove nms_opr.py and continue the compilation. Or just remove the nms directory and find a new NMS from the Internet.

hbu-cv commented 2 years ago

You can directly remove nms_opr.py and continue the compilation. Or just remove the nms directory and find a new NMS from the Internet.

Where is the nms_opr.py file? I can't find it.

yexiguafuqihao commented 2 years ago

You can directly remove nms_opr.py and continue the compilation. Or just remove the nms directory and find a new NMS from the Internet.

Where is the nms_opr.py file? I can't find it.

nms_opr.py is a script built in our inner DL framework. It's has nothing to do with existing code.