mxnet-ssd icon indicating copy to clipboard operation
mxnet-ssd copied to clipboard

how to load a pretrained classification model weights and continue to train the detection model

Open BoXiao123 opened this issue 7 years ago • 2 comments

Hi, I have a mobilenet weights pretrained on ImageNet. I am wondering is there a way to train mobilenet-ssd initialized from this mobilenet weights. Thanks.

BoXiao123 avatar Oct 25 '17 03:10 BoXiao123

something like that should work :

train.py --network mobilenet --data-shape 224 --pretrained your_pretrained_model_prefix --epoch XXX --prefix output_model_prefix

you need to take care if your mobilenet is exactly the same as in ssd code.

edmBernard avatar Oct 25 '17 06:10 edmBernard

hi @edmBernard thx for your reply. It works

BoXiao123 avatar Oct 26 '17 01:10 BoXiao123