Closed e96031413 closed 3 years ago
sgd存在一定的随机性,20.6的mAP是多次调参后得到的,如果想要复现效果,可以加长第一次lr decay前的epoch数,取mAP最佳的模型进行lr decay。
训练过程中保存的模型是附带优化器的check point,可以在save model时不保存优化器来获得3MB的模型。
謝謝您的回覆,我來嘗試看看
ok
@e96031413 ,除了@RangeiLiu说的外,加载预训练模型,从头来训练,最终保存的模型是否把预训练的参数也保存进去,这样3+7=10,也就是模型最终的大小为10M,PC端1G多的内存占用,20%的CPU占用。
@wpeak58 感謝您的分享
您好:
我有嘗試自己用COCO 2017的dataset進行訓練,320*320的解析度,訓練了70個epochs後觀察workspace資料夾中的nanodet_m/model_best/eval_results.txt,發現似乎不如您在README表格中提及的數值mAP=20.6
除此之外,訓練好的.pth檔案是7.55MB,跟您在這裡提供的.pth(僅3.86MB)有不小的落差,想請問我設定上,是不是哪裡出了問題,謝謝
nanodet-m.yml