pjreddie / darknet

Convolutional Neural Networks
http://pjreddie.com/darknet/
Other
25.73k stars 21.33k forks source link

"Not an option: demo" #2628

Closed DanyelR3199 closed 8 months ago

DanyelR3199 commented 8 months ago

When attempting to run a custom object detection using YOLOv4 in Darknet on a Windows machine, the following command was executed in the Darknet directory:

darknet.exe demo data/obj.data cfg/yolov4-obj.cfg backup/yolov4-obj_last.weights wick.mp4 -thresh 0.6 The system environment includes CUDA version 10.10 (build 12030), cuDNN version 7.6.5, and 1 GPU detected. OpenCV version 4.4.0 is installed.

However, the execution resulted in an error message stating: "Not an option: demo".

I copied this video: https://www.youtube.com/watch?v=-NEB5P-SLi0&t=33s

With the MS COCO example, i dont got any problems.

DanyelR3199 commented 8 months ago

Solution: darknet.exe detectordemo data/obj.data cfg/yolov4-obj.cfg backup/yolov4-obj_last.weights wick.mp4 -thresh 0.6