darknet:./src/utils.c:326:错误:断言0失败 Yolov4

问题描述

所有安装都遵循以下网站:https://robocademy.com/2020/05/01/a-gentle-introduction-to-yolo-v4-for-object-detection-in-ubuntu-20-04/

但是,每当我要操作此行时​​,它都不起作用:./darknet检测cfg / yolov4.cfg yolov4.weights data / person.jpg

它总是这样显示enter image description here

解决方法

尝试一下:

./darknet detect test cfg/yolov4.cfg yolov4.weights data/person.jpg

您可以在此处查看更多命令行操作:https://github.com/AlexeyAB/darknet/#how-to-use-on-the-command-line