movienet-tools icon indicating copy to clipboard operation
movienet-tools copied to clipboard

can not import 'nms_cpu' frome .

Open quhaohao opened this issue 3 years ago • 7 comments

File "/opt/data/private/scene_seg/movienet-tools-master/movienet/tools/detector/persondet/modules/core/ops/nms/nms_wrapper.py", line 4, in from . import nms_cpu, nms_cuda

when i build the tools according the INSTALL.md. I meet the question above. I check the codes, and there are not the nms_cpu.py and nms_cuda.py while nms.cpu.cpp and nms_cuda.py are in the ./src . Sorry , i need some help.

quhaohao avatar Feb 18 '21 10:02 quhaohao

I meet the same problem, have you solved it?

lemon234071 avatar May 16 '21 15:05 lemon234071

I also have this problem,what wrong?please

ICEAIyjp avatar May 27 '21 10:05 ICEAIyjp

I meet the same problem, how to solve it? pls

louis-ng1127 avatar May 05 '22 22:05 louis-ng1127

I meet the same problem.

DataminingdidiYR avatar May 10 '22 13:05 DataminingdidiYR

I meet the same problem.

huifanlong avatar May 12 '22 12:05 huifanlong

same problem

1933874502 avatar Jun 30 '22 08:06 1933874502

Using git clone https://github.com/movienet/movienet-tools.git and run python setup.py develop The problem will be solved. It seems that due to not being able to get git, it doesn't build the nms_cpu object which is a c++ file before importing it into the python file.

yenvu93 avatar Aug 13 '22 23:08 yenvu93