安装后无法使用 darknet / Yolo2 (Python)

Cannot use darknet / Yolo2 after installation (Python)

我想根据 github

的说明使用 darkflow / Yolo2

安装成功后我什么也做不了。流命令不起作用,我无法加载权重。

我收到以下警告:

der befehl "flow" ist entweder falsch geschrieben oder konnte nicht gefunden werden (the command "flow" is written wrongly or could not be found)

我做了什么:

-Started cmd
-changed working dir. to darkflow dir
-installed succesfully darkflow with command: pip install .
-tried to use the flow command but failed

有人可以帮我解决这个问题吗?

我发现我必须在 'flow' 命令前面写 'python' 这个词。这在windows.

下似乎是必要的

不适合我:

flow -h

现在使用流命令前面的 python 命令可以正常工作:

python flow -h

示例 - 加载权重并对样本图像进行一些预测:

>python flow --model cfg/tiny-yolo-voc.cfg --load bin/tiny-yolo-voc.weights