Closed xxllp closed 4 years ago
表现就是loss 几千 acc 一直为0
预训练模型是否加载成功?看Loss在下降,多训练会试试,一开始acc为0是正常的
2020-07-23 11:25:24,010-INFO: Loading parameters from ./pretrain_models/rec_mv3_none_bilstm_ctc/best_accuracy... 2020-07-23 11:25:24,100-WARNING: variable conv7_se_1_weights not used 2020-07-23 11:25:24,100-WARNING: variable conv9_linear_bn_variance not used 2020-07-23 11:25:24,100-WARNING: variable conv11_depthwise_bn_offset not used 2020-07-23 11:25:24,100-WARNING: variable conv6_se_1_weights not used 2020-07-23 11:25:24,100-WARNING: variable conv9_expand_bn_variance not used 2020-07-23 11:25:24,100-WARNING: variable conv9_linear_bn_offset not used 2020-07-23 11:25:24,100-WARNING: variable conv3_depthwise_bn_variance not used 2020-07-23 11:25:24,100-WARNING: variable conv6_se_2_offset not used 2020-07-23 11:25:24,100-WARNING: variable conv8_linear_bn_mean not used 2020-07-23 11:25:24,101-WARNING: variable conv3_depthwise_weights not used 2020-07-23 11:25:24,101-WARNING: variable lstm_st2_fc2_b not used 2020-07-23 11:25:24,101-WARNING: variable conv4_linear_weights not used 2020-07-23 11:25:24,101-WARNING: variable conv8_linear_bn_offset not used 2020-07-23 11:25:24,101-WARNING: variable conv12_expand_weights not used 2020-07-23 11:25:24,101-WARNING: variable conv12_se_2_weights not used 2020-07-23 11:25:24,101-WARNING: variable conv5_se_1_weights not used 2020-07-23 11:25:24,101-WARNING: variable conv10_linear_bn_scale not used 2020-07-23 11:25:24,101-WARNING: variable conv4_expand_bn_offset not used 2020-07-23 11:25:24,101-WARNING: variable conv5_expand_bn_variance not used 2020-07-23 11:25:24,101-WARNING: variable conv5_se_2_offset not used 2020-07-23 11:25:24,101-WARNING: variable conv8_expand_weights not used 2020-07-23 11:25:24,101-WARNING: variable conv4_depthwise_weights not used 2020-07-23 11:25:24,101-WARNING: variable conv12_linear_bn_scale not used 2020-07-23 11:25:24,101-WARNING: variable conv12_depthwise_bn_mean not used 2020-07-23 11:25:24,101-WARNING: variable conv7_depthwise_bn_mean not used 2020-07-23 11:25:24,101-WARNING: variable conv11_depthwise_bn_mean not used 2020-07-23 11:25:24,101-WARNING: variable conv6_se_1_offset not used 2020-07-23 11:25:24,102-WARNING: variable conv10_expand_bn_variance not used 2020-07-23 11:25:24,102-WARNING: variable conv6_depthwise_bn_variance not used 2020-07-23 11:25:24,102-WARNING: variable conv6_expand_bn_scale not used 2020-07-23 11:25:24,102-WARNING: variable conv6_expand_bn_variance not used 2020-07-23 11:25:24,102-WARNING: variable conv12_se_2_offset not used 2020-07-23 11:25:24,102-WARNING: variable conv9_linear_bn_scale not used 2020-07-23 11:25:24,102-WARNING: variable conv8_linear_weights not used 2020-07-23 11:25:24,102-WARNING: variable conv7_depthwise_bn_variance not used 2020-07-23 11:25:24,102-WARNING: variable conv5_expand_bn_mean not used 2020-07-23 11:25:24,102-WARNING: variable conv5_depthwise_bn_variance not used 2020-07-23 11:25:24,102-WARNING: variable conv12_depthwise_bn_scale not used 2020-07-23 11:25:24,102-WARNING: variable conv9_expand_weights not used 2020-07-23 11:25:24,102-WARNING: variable conv12_expand_bn_variance not used 2020-07-23 11:25:24,102-WARNING: variable conv10_linear_weights not used 2020-07-23 11:25:24,102-WARNING: variable conv11_linear_bn_scale not used 2020-07-23 11:25:24,102-WARNING: variable conv6_depthwise_bn_scale not used 2020-07-23 11:25:24,102-WARNING: variable conv4_expand_weights not used 2020-07-23 11:25:24,102-WARNING: variable ctc_fc_b_attr not used 2020-07-23 11:25:24,102-WARNING: variable conv12_depthwise_bn_offset not used 2020-07-23 11:25:24,102-WARNING: variable conv4_depthwise_bn_variance not used 2020-07-23 11:25:24,103-WARNING: variable conv5_depthwise_bn_scale not used 2020-07-23 11:25:24,103-WARNING: variable conv12_se_1_weights not used 2020-07-23 11:25:24,103-WARNING: variable conv12_expand_bn_scale not used 2020-07-23 11:25:24,103-WARNING: variable conv6_se_2_weights not used 2020-07-23 11:25:24,103-WARNING: variable conv10_linear_bn_variance not used 2020-07-23 11:25:24,103-WARNING: variable conv11_depthwise_bn_scale not used 2020-07-23 11:25:24,103-WARNING: variable lstm_st2_out1_b not used 2020-07-23 11:25:24,103-WARNING: variable conv10_expand_bn_mean not used 2020-07-23 11:25:24,103-WARNING: variable conv4_depthwise_bn_mean not used 2020-07-23 11:25:24,103-WARNING: variable conv12_linear_weights not used 2020-07-23 11:25:24,103-WARNING: variable conv7_linear_weights not used 2020-07-23 11:25:24,103-WARNING: variable conv10_depthwise_bn_scale not used 2020-07-23 11:25:24,103-WARNING: variable lstm_st1_out2_b not used 2020-07-23 11:25:24,103-WARNING: variable conv5_se_1_offset not used 2020-07-23 11:25:24,103-WARNING: variable conv3_expand_bn_mean not used 2020-07-23 11:25:24,103-WARNING: variable conv5_se_2_weights not used 2020-07-23 11:25:24,103-WARNING: variable conv7_expand_bn_mean not used 2020-07-23 11:25:24,103-WARNING: variable conv5_depthwise_weights not used 2020-07-23 11:25:24,103-WARNING: variable conv9_linear_bn_mean not used 2020-07-23 11:25:24,103-WARNING: variable conv3_depthwise_bn_offset not used 2020-07-23 11:25:24,104-WARNING: variable conv7_se_2_weights not used 2020-07-23 11:25:24,104-WARNING: variable conv7_depthwise_weights not used 2020-07-23 11:25:24,104-WARNING: variable conv8_linear_bn_scale not used 2020-07-23 11:25:24,104-WARNING: variable lstm_st2_fc1_w not used 2020-07-23 11:25:24,104-WARNING: variable conv5_depthwise_bn_offset not used 2020-07-23 11:25:24,104-WARNING: variable conv10_depthwise_weights not used 2020-07-23 11:25:24,104-WARNING: variable conv_last_bn_variance not used 2020-07-23 11:25:24,104-WARNING: variable conv4_depthwise_bn_offset not used 2020-07-23 11:25:24,104-WARNING: variable conv9_expand_bn_scale not used 2020-07-23 11:25:24,104-WARNING: variable conv10_depthwise_bn_offset not used 2020-07-23 11:25:24,104-WARNING: variable conv6_depthwise_weights not used 2020-07-23 11:25:24,104-WARNING: variable conv12_linear_bn_variance not used 2020-07-23 11:25:24,104-WARNING: variable conv11_expand_bn_variance not used 2020-07-23 11:25:24,104-WARNING: variable conv9_depthwise_bn_mean not used 2020-07-23 11:25:24,104-WARNING: variable conv9_linear_weights not used 2020-07-23 11:25:24,104-WARNING: variable conv9_depthwise_bn_variance not used 2020-07-23 11:25:24,104-WARNING: variable lstm_st1_fc2_w not used 2020-07-23 11:25:24,104-WARNING: variable lstm_st2_out2_w not used 2020-07-23 11:25:24,104-WARNING: variable conv11_depthwise_weights not used 2020-07-23 11:25:24,104-WARNING: variable lstm_st1_fc1_w not used 2020-07-23 11:25:24,105-WARNING: variable conv4_expand_bn_scale not used 2020-07-23 11:25:24,105-WARNING: variable conv7_depthwise_bn_scale not used 2020-07-23 11:25:24,105-WARNING: variable conv11_expand_bn_scale not used 2020-07-23 11:25:24,105-WARNING: variable conv7_se_1_offset not used 2020-07-23 11:25:24,105-WARNING: variable conv6_linear_weights not used 2020-07-23 11:25:24,105-WARNING: variable conv11_depthwise_bn_variance not used 2020-07-23 11:25:24,105-WARNING: variable conv7_expand_bn_scale not used 2020-07-23 11:25:24,105-WARNING: variable conv_last_bn_offset not used 2020-07-23 11:25:24,105-WARNING: variable lstm_st1_out1_b not used 2020-07-23 11:25:24,105-WARNING: variable lstm_st2_out2_b not used 2020-07-23 11:25:24,105-WARNING: variable conv8_expand_bn_mean not used 2020-07-23 11:25:24,105-WARNING: variable conv6_expand_weights not used 2020-07-23 11:25:24,105-WARNING: variable conv12_linear_bn_offset not used 2020-07-23 11:25:24,105-WARNING: variable conv8_expand_bn_scale not used 2020-07-23 11:25:24,105-WARNING: variable conv_last_bn_scale not used 2020-07-23 11:25:24,105-WARNING: variable conv8_depthwise_bn_offset not used 2020-07-23 11:25:24,105-WARNING: variable lstm_st2_fc2_w not used 2020-07-23 11:25:24,105-WARNING: variable conv11_expand_bn_mean not used 2020-07-23 11:25:24,105-WARNING: variable conv7_depthwise_bn_offset not used 2020-07-23 11:25:24,105-WARNING: variable conv4_expand_bn_variance not used 2020-07-23 11:25:24,106-WARNING: variable conv9_depthwise_bn_offset not used 2020-07-23 11:25:24,106-WARNING: variable conv12_linear_bn_mean not used 2020-07-23 11:25:24,106-WARNING: variable conv8_expand_bn_offset not used 2020-07-23 11:25:24,106-WARNING: variable lstm_st1_fc1_b not used 2020-07-23 11:25:24,106-WARNING: variable conv10_expand_bn_scale not used 2020-07-23 11:25:24,106-WARNING: variable conv7_expand_bn_offset not used 2020-07-23 11:25:24,106-WARNING: variable conv10_depthwise_bn_variance not used 2020-07-23 11:25:24,106-WARNING: variable conv_last_bn_mean not used 2020-07-23 11:25:24,106-WARNING: variable conv3_expand_bn_scale not used 2020-07-23 11:25:24,106-WARNING: variable conv7_expand_bn_variance not used 2020-07-23 11:25:24,106-WARNING: variable conv12_se_1_offset not used 2020-07-23 11:25:24,106-WARNING: variable conv12_expand_bn_offset not used 2020-07-23 11:25:24,106-WARNING: variable conv10_depthwise_bn_mean not used 2020-07-23 11:25:24,106-WARNING: variable conv8_expand_bn_variance not used 2020-07-23 11:25:24,106-WARNING: variable conv5_depthwise_bn_mean not used 2020-07-23 11:25:24,106-WARNING: variable conv_last_weights not used 2020-07-23 11:25:24,106-WARNING: variable conv12_depthwise_bn_variance not used 2020-07-23 11:25:24,106-WARNING: variable lstm_st2_out1_w not used 2020-07-23 11:25:24,106-WARNING: variable lstm_st2_fc1_b not used 2020-07-23 11:25:24,107-WARNING: variable conv10_expand_weights not used 2020-07-23 11:25:24,107-WARNING: variable conv8_depthwise_bn_scale not used 2020-07-23 11:25:24,107-WARNING: variable conv5_expand_bn_offset not used 2020-07-23 11:25:24,107-WARNING: variable conv5_expand_weights not used 2020-07-23 11:25:24,107-WARNING: variable conv11_linear_bn_offset not used 2020-07-23 11:25:24,107-WARNING: variable conv6_depthwise_bn_mean not used 2020-07-23 11:25:24,107-WARNING: variable conv9_depthwise_weights not used 2020-07-23 11:25:24,107-WARNING: variable conv8_depthwise_bn_variance not used 2020-07-23 11:25:24,107-WARNING: variable conv11_linear_bn_mean not used 2020-07-23 11:25:24,107-WARNING: variable conv3_expand_weights not used 2020-07-23 11:25:24,107-WARNING: variable conv3_expand_bn_variance not used 2020-07-23 11:25:24,107-WARNING: variable conv11_expand_weights not used 2020-07-23 11:25:24,107-WARNING: variable conv11_expand_bn_offset not used 2020-07-23 11:25:24,107-WARNING: variable conv11_linear_bn_variance not used 2020-07-23 11:25:24,107-WARNING: variable conv3_expand_bn_offset not used 2020-07-23 11:25:24,107-WARNING: variable conv10_linear_bn_mean not used 2020-07-23 11:25:24,107-WARNING: variable ctc_fc_w_attr not used 2020-07-23 11:25:24,107-WARNING: variable conv9_expand_bn_offset not used 2020-07-23 11:25:24,107-WARNING: variable conv7_expand_weights not used 2020-07-23 11:25:24,107-WARNING: variable conv6_expand_bn_mean not used 2020-07-23 11:25:24,113-WARNING: variable conv8_depthwise_weights not used 2020-07-23 11:25:24,113-WARNING: variable conv10_linear_bn_offset not used 2020-07-23 11:25:24,113-WARNING: variable conv12_expand_bn_mean not used 2020-07-23 11:25:24,113-WARNING: variable conv4_expand_bn_mean not used 2020-07-23 11:25:24,113-WARNING: variable conv5_linear_weights not used 2020-07-23 11:25:24,113-WARNING: variable conv7_se_2_offset not used 2020-07-23 11:25:24,113-WARNING: variable conv9_depthwise_bn_scale not used 2020-07-23 11:25:24,113-WARNING: variable conv11_linear_weights not used 2020-07-23 11:25:24,113-WARNING: variable conv3_linear_weights not used 2020-07-23 11:25:24,113-WARNING: variable conv6_expand_bn_offset not used 2020-07-23 11:25:24,113-WARNING: variable conv3_depthwise_bn_mean not used 2020-07-23 11:25:24,113-WARNING: variable conv8_linear_bn_variance not used 2020-07-23 11:25:24,113-WARNING: variable conv4_depthwise_bn_scale not used 2020-07-23 11:25:24,113-WARNING: variable conv8_depthwise_bn_mean not used 2020-07-23 11:25:24,113-WARNING: variable lstm_st1_out1_w not used 2020-07-23 11:25:24,113-WARNING: variable conv10_expand_bn_offset not used 2020-07-23 11:25:24,113-WARNING: variable conv6_depthwise_bn_offset not used 2020-07-23 11:25:24,114-WARNING: variable conv3_depthwise_bn_scale not used 2020-07-23 11:25:24,114-WARNING: variable lstm_st1_out2_w not used 2020-07-23 11:25:24,114-WARNING: variable conv12_depthwise_weights not used 2020-07-23 11:25:24,114-WARNING: variable conv5_expand_bn_scale not used 2020-07-23 11:25:24,114-WARNING: variable conv9_expand_bn_mean not used 2020-07-23 11:25:24,114-WARNING: variable lstm_st1_fc2_b not used /home/mlp/python/anaconda3/lib/python3.6/site-packages/paddle/fluid/io.py:1972: UserWarning: This list is not set, Because of Paramerter not found in program. There are: conv13_expand_weights conv13_expand_bn_scale conv13_expand_bn_offset conv13_expand_bn_mean conv13_expand_bn_variance conv13_depthwise_weights conv13_depthwise_bn_scale conv13_depthwise_bn_offset conv13_depthwise_bn_mean conv13_depthwise_bn_variance conv13_se_1_weights conv13_se_1_offset conv13_se_2_weights conv13_se_2_offset conv13_linear_weights conv13_linear_bn_scale conv13_linear_bn_offset conv13_linear_bn_mean conv13_linear_bn_variance conv14_expand_weights conv14_expand_bn_scale conv14_expand_bn_offset conv14_expand_bn_mean conv14_expand_bn_variance conv14_depthwise_weights conv14_depthwise_bn_scale conv14_depthwise_bn_offset conv14_depthwise_bn_mean conv14_depthwise_bn_variance conv14_se_1_weights conv14_se_1_offset conv14_se_2_weights conv14_se_2_offset conv14_linear_weights conv14_linear_bn_scale conv14_linear_bn_offset conv14_linear_bn_mean conv14_linear_bn_variance conv15_expand_weights conv15_expand_bn_scale conv15_expand_bn_offset conv15_expand_bn_mean conv15_expand_bn_variance conv15_depthwise_weights conv15_depthwise_bn_scale conv15_depthwise_bn_offset conv15_depthwise_bn_mean conv15_depthwise_bn_variance conv15_se_1_weights conv15_se_1_offset conv15_se_2_weights conv15_se_2_offset conv15_linear_weights conv15_linear_bn_scale conv15_linear_bn_offset conv15_linear_bn_mean conv15_linear_bn_variance conv16_expand_weights conv16_expand_bn_scale conv16_expand_bn_offset conv16_expand_bn_mean conv16_expand_bn_variance conv16_depthwise_weights conv16_depthwise_bn_scale conv16_depthwise_bn_offset conv16_depthwise_bn_mean conv16_depthwise_bn_variance conv16_se_1_weights conv16_se_1_offset conv16_se_2_weights conv16_se_2_offset conv16_linear_weights conv16_linear_bn_scale conv16_linear_bn_offset conv16_linear_bn_mean conv16_linear_bn_variance format(" ".join(unused_para_list)))
预训练模型好像是没加载成功 很奇怪啊
用的 rec_chinese_lite_train.yml ,在linux上跑的
预训练模型加载失败,看你的log加载的似乎是英文模型的预训练权重。请确认一下下载的预训练模型是否是 ch_rec_mv3_crnn
,下载链接:https://paddleocr.bj.bcebos.com/ch_models/ch_rec_mv3_crnn.tar
已解决了 模型加载的不对
已解决了 模型加载的不对
我好像也加载的不对,你最后怎么解决的啊?
你好 我训练个中文的识别数据 ,配置都改了 但是模型的结果一直如下 也没啥改进 这个应该是啥问题呢 预训练模型我也加载了