movienet / movienet-tools

Tools for movie and video research

Home Page:http://movienet.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can not import 'nms_cpu' frome .

quhaohao opened this issue · 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.

commented

I meet the same problem, have you solved it?

I also have this problem,what wrong?please

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

I meet the same problem.

I meet the same problem.

same problem

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.