The github issue 2446 says if we want to train from scratch, we need to comment this line in the model.config
:
#fine_tune_checkpoint: "PATH_TO_BE_CONFIGURED/model.ckpt"
from_detection_checkpoint: true
I followed this issue and commented this line for training the SSD_mobilenet in my own dataset. It can train and the loss can reduce, but the accuracy keep at 0.0.
I used the object detection api before with pre-train model from model zoo, it works well at mAP=90%, the only difference between these two tasks is the comment line in model.config
.
I want to know how to train a detection model from scratch using the object detection api in TensorFlow. Thanks!