tf-cpn icon indicating copy to clipboard operation
tf-cpn copied to clipboard

No module named 'lib_kernel.lib_nms.nms.gpu_nms

Open huitang opened this issue 6 years ago • 7 comments

I add $cpn_root/lib to $PYTHONPATH I tried to google, and it seems that I need to run make in $cpn_root/lib I did Still not solved yet

huitang avatar Oct 02 '18 17:10 huitang

@huitang I have the same problem as you ,have you solved it?

tianjiahao avatar Oct 11 '18 02:10 tianjiahao

You need to run the compile.sh in lib/lib_kernel/lib_nms

Zwei1996 avatar Oct 16 '18 08:10 Zwei1996

I did run that still does not work but I solved it by doing this: in compile.sh, remove the last two lines which moves the .so files

On Tue, Oct 16, 2018 at 1:45 AM Zwei1996 [email protected] wrote:

You need to run the compile.sh in lib/lib_kernel/lib_nms

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/chenyilun95/tf-cpn/issues/56#issuecomment-430153671, or mute the thread https://github.com/notifications/unsubscribe-auth/ABz1ZGQaOzUUMmGA4c8hExKXLc1Tnua9ks5ulZy_gaJpZM4XEgsC .

huitang avatar Oct 16 '18 16:10 huitang

move old so ,re-build

mathpopo avatar Dec 11 '18 09:12 mathpopo

Sorry to interrupt you, I have run the compile.sh in lib/lib_kernel/lib_nms . After that, cpython-36m-x86_64-linux-gnu.so were made, but when I run mptest.py, there is an import error: lib/lib_kernel/lib_nms/gpu_nms.cpython-36m-x86_64-linux-gnu.so: undefined symbol: __cudaPopCallConfiguration, I don't know how to fix it and I wish you could help me

Deicide-LC avatar May 16 '19 03:05 Deicide-LC

You need to run the compile.sh in lib/lib_kernel/lib_nms bash compile.sh

weixinxu666 avatar Feb 01 '20 04:02 weixinxu666

First, you need delete all xxx.so in ROOT/lib/lib_kernel/lib_nms & ROOT/lib/nms & ROOT/lib/utils. Second, open the Makefile which in ROOT/lib and change command from Python3.5 to python3(or your python version), then run make in you conda environment. Third, run compile.sh in ROOT/lib/lib_kernel/lib_nms.

TianshengSun avatar Mar 25 '20 01:03 TianshengSun