markjay4k / YOLO-series

A series of notebooks describing how to use YOLO (darkflow) in python
248 stars 171 forks source link

How to run pre trained weights in darknet using python? #33

Open msarfrazcss opened 5 years ago

msarfrazcss commented 5 years ago

Hi,

I want to run pre trained weights by using Darknet api in python. You are using Darkflow API but i want to use Darknet API. Can any help me please how can we do that?

ashneg commented 5 years ago

After you have completed the compilation of Darknet, put the pre-trained weights in at this location

./darknet detect cfg/yolov3.cfg pretrained.weights data/dog.jpg

and then run it