ModuleNotFoundError:没有名为darkflow.cli和'nms'的模块

我正在https://github.com/llSourcell/YOLO_Object_Detection尝试YOLO教程


当我执行此步骤时:


flow --h

我收到此错误:


File "/anaconda2/bin/flow", line 4, in <module>

    from darkflow.cli import cliHandler

ImportError: No module named darkflow.cli

我试图到处寻找解决方案,但没有运气。然后我尝试跳过该行并继续...


flow --model cfg/yolo-new.cfg --load bin/yolo-tiny.weights --train --gpu 1.0

我收到此错误:


Traceback (most recent call last):

  File "flow", line 4, in <module>

    from darkflow.cli import cliHandler

  File "./YOLO_Object_Detection/darkflow/cli.py", line 3, in <module>

    from .net.build import TFNet

  File "./YOLO_Object_Detection/darkflow/net/build.py", line 7, in <module>

    from .framework import create_framework

  File "./YOLO_Object_Detection/darkflow/net/framework.py", line 1, in <module>

    from . import yolo

  File "./YOLO_Object_Detection/darkflow/net/yolo/__init__.py", line 2, in <module>

    from . import predict

  File "./YOLO_Object_Detection/darkflow/net/yolo/predict.py", line 7, in <module>

    from ...cython_utils.cy_yolo_findboxes import yolo_box_constructor

  File "darkflow/cython_utils/cy_yolo_findboxes.pyx", line 1, in init darkflow.cython_utils.cy_yolo_findboxes

    import numpy as np

ModuleNotFoundError: No module named 'nms'

任何帮助表示赞赏。谢谢


达令说
浏览 213回答 1
1回答
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Python