KeyError: 'infer_img'
Created by: wangning7149
运行这个命令,CUDA_VISIBLE_DEVICES=1 python tools/train.py -c configs/rec/rec_r34_vd_tps_bilstm_attn.yml
出现这个错误 Traceback (most recent call last): File "tools/train.py", line 112, in main() File "tools/train.py", line 66, in main config, train_program, startup_program, mode='train') File "/home/wn/projects/PaddleOCR-develop/tools/program.py", line 171, in build model = create_module(func_infor)(params=config) File "/home/wn/projects/PaddleOCR-develop/ppocr/modeling/architectures/rec_model.py", line 34, in init self.infer_img = global_params['infer_img'] KeyError: 'infer_img'