License_Plate_Detection_Pytorch icon indicating copy to clipboard operation
License_Plate_Detection_Pytorch copied to clipboard

train_accuracy

Open nightfuryyy opened this issue 5 years ago • 5 comments

i tried to train my model on my plate data.

"loss: 0.0000, train_accuracy: 0.1875, time: 0.28 s/iter, learning rate: 0.0001"

loss so small, but train_accuracy always <= 0.4 . I trained 5hour and can't get better result. How can i fix that ?

nightfuryyy avatar Jul 30 '19 16:07 nightfuryyy

@nightfuryyy how did you initialize the weights during training ? I will recommend you to use pretrained weights from sirius's repo as an initializer.

xuexingyu24 avatar Jul 31 '19 05:07 xuexingyu24

my classnum is 31. So i can't use his pretrained weights. Btw i generated gray images for training.

nightfuryyy avatar Jul 31 '19 07:07 nightfuryyy

只是用了ccpd来训练吗,从模型测试效果来看,感觉数据很不均衡 @xuexingyu24

wait1988 avatar Aug 06 '19 13:08 wait1988

same problem , initialize the weights random

kunyao2015 avatar Aug 26 '19 09:08 kunyao2015

@nightfuryyy @kunyao2015 your problem has solved?I had the same problem when I trained my custom data。

persuelx avatar May 22 '20 14:05 persuelx