OCR 用attention 训练后,用模型预测报错AssertionError: Can not find [conv2d_0.b_0] in model file
Created by: qianqiulin
Traceback (most recent call last): File "infer.py", line 170, in main() File "infer.py", line 166, in main inference(args) File "infer.py", line 91, in inference var_list=fluid.io.get_program_parameter(fluid.default_main_program())) File "/opt/anaconda3/bin/anaconda/lib/python3.7/site-packages/paddle/fluid/io.py", line 1740, in load v.name, parameter_file_name) AssertionError: Can not find [conv2d_0.b_0] in model file [models/ocr_ctc_attention/model_15000.pdparams]