thtrieu / darkflow

Translate darknet to tensorflow. Load trained weights, retrain/fine-tune using tensorflow, export constant graph def to mobile devices
GNU General Public License v3.0
6.13k stars 2.07k forks source link

Question: How to create .weights file without any pretrain weight file? #871

Open leekwunfung817 opened 6 years ago

leekwunfung817 commented 6 years ago

What I need to do , when I want to train a custom object detection? Target:

  1. Car
  2. License Plate

I have many image with annotation XML file which LabelImg created

sandeeprepakula commented 6 years ago

You don't need to mention any weights file if you don't have any. It will initialise to random initial weights. But make sure you change the cfg file compatible with the number of classes.