Tengine icon indicating copy to clipboard operation
Tengine copied to clipboard

How can I train custom mobilenet ssd model?

Open gunjupark opened this issue 8 years ago • 3 comments

I want to get custom MobileNetSSD_deploy.caffemodel which can be run on Tengine

So I trained my custom model following this referrence site https://github.com/chuanqi305/MobileNet-SSD

But in Tengine's MobileNet prototxt , BatchNorm op doesn't exist.

so could you upload your MobileNet_train.prototxt

Thank you

gunjupark avatar Nov 27 '18 04:11 gunjupark

Hi, You can run merge_bn to merge batchnorm op into conv

python merge_bn.py --model example/MobileNetSSD_deploy.prototxt --weights snapshot/mobilenet_iter_xxxxxx.caffemodel

Details see https://github.com/chuanqi305/MobileNet-SSD/blob/master/README.md#train-your-own-dataset step6.

lyuchuny3 avatar Nov 27 '18 04:11 lyuchuny3

Thank you

gunjupark avatar Dec 03 '18 12:12 gunjupark

Hi @gunjupark,

Could you share the references you used for training Tengine model?

KrishnaShalini0518-arch avatar Apr 08 '21 07:04 KrishnaShalini0518-arch