0

I'm using macOS Catalina.

I'm just following the basic tutorial which are written in the Darknet page.

when I run the command

$make
$./darknet detect cfg/yolov3.cfg yolov3.weights data/dog.jpg

then the Yolo is not predict after just showing the running time

Loading weights from yolov3.weights...Done!
data/dog.jpg: Predicted in 19.215062 seconds.

Also, prediction.jpg is saved without any boundary box

I tried also

$./darknet detect cfg/yolov3.cfg yolov3.weights data/dog.jpg -thresh 0

But it doesn't work. Can anyone help me please?

1 Answers1

0

When you run detect command, the prediction is saved as an image instead of showing any log. Look into the current data folder, there should be an image named predictions.jpg. This image contains all the bounding boxes with classes.

If you want to print your predictions, you can use darknet.py file inside darknet folder.

Zabir Al Nazi
  • 10,298
  • 4
  • 33
  • 60