ocr 模型训练到最后,loss上升,train_acc 下降到0
Created by: ccmeteorljh
seq2seq+attention
python -u train.py --batch_size 128 --model attention --total_step 60000
Time: 1550152015.93; Iter[56000]; Avg loss: 0.988; Avg seq err: 0.157
3123 kpis train_cost 0.988109
3124 kpis train_acc 0.842906
3125
3126 Time: 1550152458.68; Iter[57000]; Avg loss: 2.187; Avg seq err: 0.212
3127 kpis train_cost 2.187478
3128 kpis train_acc 0.787953
3129
3130 Time: 1550152898.15; Iter[58000]; Avg loss: 21.308; Avg seq err: 0.731
3131 kpis train_cost 21.308087
3132 kpis train_acc 0.269258
3133
3134 Time: 1550153338.44; Iter[59000]; Avg loss: 22.564; Avg seq err: 1.000
3135 kpis train_cost 22.564095
3136 kpis train_acc 0.000000
3137
3138 Time: 1550153776.94; Iter[60000]; Avg loss: 21.151; Avg seq err: 1.000
3139 kpis train_cost 21.151212
3140 kpis train_acc 0.000000
3141
3142 Time: 1550153835.67; Iter[60000]; Test seq error: 1.0.
3143
3144 kpis test_acc 0.000000
3145 Saved model to: ./models/model_60000.