ganyc717 / Darknet-On-OpenCL

Darknet On OpenCL
MIT License
100 stars 44 forks source link

couldn't open file: cfg/coco.data #25

Open billqu01 opened 3 years ago

billqu01 commented 3 years ago

I have pass building. when I run, ./darknet detect cfg/yolov3.cfg yolov3.weights data/dog.jpg system notify couldn't open file: cfg/coco.data How should I do? Thank you very much.

dtlam26 commented 3 years ago

You should also check whether the cfg/coco.data exists in your folder or not. If no, try to create it The detect command is shorthand for a more general version of the command. It is equivalent to the command:

./darknet detector test cfg/coco.data cfg/yolov3.cfg yolov3.weights data/dog.jpg