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.08k forks source link

How to resume through a checkpoint? #701

Open realityzero opened 6 years ago

realityzero commented 6 years ago

While training, I mentioned a lower epoch number, so I want to resume from the last checkpoint.

rij12 commented 6 years ago

Same command but --load -1, you can also use --load STEP_NUMBER

e.g:

python3 ./flow --model cfg/yolo.cfg --load -1 --train --annotation labels --dataset /images

kribby commented 6 years ago

What if the checkpoint files are in a different directory well away from the darkflow main folder?

../../...

mronda commented 6 years ago

I resumed using this:

flow --train --model cfg/tiny-yolo-voc-2c.cfg --load -1 --annotation train/Annotations/ --dataset train/Images/