darkflow
darkflow copied to clipboard
I can't use pb file
I trained my model from scratch without pre-trained weights. Using pb file cannot detect the objects even with threshold 0.1 while the checkpoints are fine and the model can detect the objects perfectly.
I read the all of issues about pb file but there was no solution. I would like to know what the problem is? Is it Darknet or Tensorflow? or something else?
I used the following commands:
- Training:
flow --model cfg/train.cfg --train --annotation train/xml --dataset train/png
- Saving pb file:
flow --model cfg/train.cfg --load -1 --savepb
- Testing with checkpoints:
flow --imgdir sample_img/ --model cfg/train.cfg --load -1
- Testing with pb file:
flow --pbLoad built_graph/train.pb --metaLoad built_graph/train.meta --imgdir sample_img/
solved?
Yes, I trained my model with a pre-trained weight and worked. Without pre-trained weight does not work!!!
I've got the same problem, have you got an idea how to fix this?
Can we not train without any pretrained weights? I've tried to predict some objects after training from the scratch, but I continue to fail detecting. Any suggestion?
Yes, I trained my model with a pre-trained weight and worked. Without pre-trained weight does not work!!!
how to do without pretrained weight?