Open rahard opened 6 years ago
@rahard This solved for me: https://keponk.wordpress.com/2017/12/07/siraj-darkflow/
The same problem here, after following the post, it is running in the miniconda with py3.6.3 and cython. I tried many times with a fresh clone, still got No module named 'nms' even after running it with weights and cfg
marlon, I will check the link ... thanks (meanwhile - on a different thread - I got darknet running using the code from darknet's site. at least I can reproduce YOLO.)
Thank you rahard, The code from https://github.com/thtrieu/darkflow has no such error. It run with out any problems
Hi! I am also having this problem. How about if my tensorflow is not in GPU version, just CPU, what should be done to solve the problem?
hi, I am running on mac air with tensor flow activated ./flow --h got the following errors, any advises ? thanks much !
(tensorflow) Marks-MacBook-Air:YOLO_Object_Detection markhu$ ./flow --h
/Users/markhu/anaconda3/lib/python3.6/site-packages/h5py/init.py:34: FutureWarning: Conversion of the second argument of issubdtype from float
to np.floating
is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type
.
from ._conv import register_converters as _register_converters
Traceback (most recent call last):
File "./flow", line 4, in
also tried https://github.com/thtrieu/darkflow, got same error
I am a mac user and using python 3.6 on anaconda and i got the same problem as well. I have tried googled it with no luck. Did anyone found a solution?
Traceback (most recent call last):
File "G:/workspace/PycharmProjects/py_hog_svm/py_03_hog_feature.py", line 10, in
Same issue. No module named 'nms'.
Traceback (most recent call last):
File "flow", line 4, in
python flow --h Traceback (most recent call last): File "flow", line 4, in
from darkflow.cli import cliHandler File "C:\Users\Shoaib\Desktop\YOLO_Object_Detection\darkflow\cli.py", line 3, in from .net.build import TFNet File "C:\Users\Shoaib\Desktop\YOLO_Object_Detection\darkflow\net\build.py", li ne 7, in from .framework import create_framework File "C:\Users\Shoaib\Desktop\YOLO_Object_Detection\darkflow\net\framework.py" , line 1, in from . import yolo File "C:\Users\Shoaib\Desktop\YOLO_Object_Detection\darkflow\net\yolo__init__ .py", line 2, in from . import predict File "C:\Users\Shoaib\Desktop\YOLO_Object_Detection\darkflow\net\yolo\predict. py", line 7, in from ...cython_utils.cy_yolo_findboxes import yolo_box_constructor File "darkflow\cython_utils\cy_yolo_findboxes.pyx", line 1, in init darkflow.c ython_utils.cy_yolo_findboxes import numpy as np ModuleNotFoundError: No module named 'nms'
Please can someone help resolve this issue?
Same issue. No module named 'nms'.
Traceback (most recent call last): File "flow", line 4, in from darkflow.cli import cliHandler File "C:\Users\Shoaib\Desktop\YOLO_Object_Detection\darkflow\cli.py", line 3, in from .net.build import TFNet File "C:\Users\Shoaib\Desktop\YOLO_Object_Detection\darkflow\net\build.py", li ne 7, in from .framework import create_framework File "C:\Users\Shoaib\Desktop\YOLO_Object_Detection\darkflow\net\framework.py" , line 1, in from . import yolo File "C:\Users\Shoaib\Desktop\YOLO_Object_Detection\darkflow\net\yoloinit .py", line 2, in from . import predict File "C:\Users\Shoaib\Desktop\YOLO_Object_Detection\darkflow\net\yolo\predict. py", line 7, in from ...cython_utils.cy_yolo_findboxes import yolo_box_constructor File "darkflow\cython_utils\cy_yolo_findboxes.pyx", line 1, in init darkflow.c ython_utils.cy_yolo_findboxes import numpy as np ModuleNotFoundError: No module named 'nms'
python flow --h Traceback (most recent call last): File "flow", line 4, in from darkflow.cli import cliHandler File "C:\Users\Shoaib\Desktop\YOLO_Object_Detection\darkflow\cli.py", line 3, in from .net.build import TFNet File "C:\Users\Shoaib\Desktop\YOLO_Object_Detection\darkflow\net\build.py", li ne 7, in from .framework import create_framework File "C:\Users\Shoaib\Desktop\YOLO_Object_Detection\darkflow\net\framework.py" , line 1, in from . import yolo File "C:\Users\Shoaib\Desktop\YOLO_Object_Detection\darkflow\net\yoloinit .py", line 2, in from . import predict File "C:\Users\Shoaib\Desktop\YOLO_Object_Detection\darkflow\net\yolo\predict. py", line 7, in from ...cython_utils.cy_yolo_findboxes import yolo_box_constructor File "darkflow\cython_utils\cy_yolo_findboxes.pyx", line 1, in init darkflow.c ython_utils.cy_yolo_findboxes import numpy as np ModuleNotFoundError: No module named 'nms'
Please can someone help resolve this issue?
Same issue here, when I pip install nms, i got error "AttributeError: module 'nms' has no attribute '__pyx_capi__'
just go to the actual link https://github.com/thtrieu/darkflow. Download the files, delete the previous ones manually and run the commands one by one. I guess it should work now.
I used the first way to install the darflow and I had the same problem in the beginning, but later I solve it by use
running flow --h produces: ImportError: No module named 'nms'