Awesome multilingual OCR toolkits based on PaddlePaddle (practical ultra lightweight OCR system, support 80+ languages recognition, provide data annotation and synthesis tools, support training and deployment among server, mobile, embedded and IoT devices)
完整报错/Complete Error Message: File "/home/kemove/zxProjects/ocrProject/PaddleOCR-release-2.7/tools/train.py", line 227, in
main(config, device, logger, vdl_writer)
File "/home/kemove/zxProjects/ocrProject/PaddleOCR-release-2.7/tools/train.py", line 135, in main
model = build_model(config['Architecture'])
File "/home/kemove/zxProjects/ocrProject/PaddleOCR-release-2.7/ppocr/modeling/architectures/init.py", line 34, in build_model
arch = getattr(mod, name)(config)
File "/home/kemove/zxProjects/ocrProject/PaddleOCR-release-2.7/ppocr/modeling/architectures/distillation_model.py", line 47, in init
model = BaseModel(model_config)
File "/home/kemove/zxProjects/ocrProject/PaddleOCR-release-2.7/ppocr/modeling/architectures/base_model.py", line 76, in init
self.head = build_head(config["Head"])
File "/home/kemove/zxProjects/ocrProject/PaddleOCR-release-2.7/ppocr/modeling/heads/init.py", line 71, in build_head
module_class = eval(module_name)(**config)
File "/home/kemove/zxProjects/ocrProject/PaddleOCR-release-2.7/ppocr/modeling/heads/rec_multi_head.py", line 75, in init
out_channels=out_channels_list['NRTRLabelDecode'])
KeyError: 'NRTRLabelDecode'
请提供下述完整信息以便快速定位问题/Please provide the following information to quickly locate the problem
系统环境/System Environment:ubuntu 18.4
版本号/Version:Paddle:2.51 PaddleOCR:2.7 问题相关组件/Related components:
运行指令/Command Code:python -m paddle.distributed.launch --gpus '0,1' tools/train.py -c configs/rec/PP-OCRv4/ch_PP-OCRv4_rec_distill.yml
完整报错/Complete Error Message: File "/home/kemove/zxProjects/ocrProject/PaddleOCR-release-2.7/tools/train.py", line 227, in
main(config, device, logger, vdl_writer)
File "/home/kemove/zxProjects/ocrProject/PaddleOCR-release-2.7/tools/train.py", line 135, in main
model = build_model(config['Architecture'])
File "/home/kemove/zxProjects/ocrProject/PaddleOCR-release-2.7/ppocr/modeling/architectures/init.py", line 34, in build_model
arch = getattr(mod, name)(config)
File "/home/kemove/zxProjects/ocrProject/PaddleOCR-release-2.7/ppocr/modeling/architectures/distillation_model.py", line 47, in init
model = BaseModel(model_config)
File "/home/kemove/zxProjects/ocrProject/PaddleOCR-release-2.7/ppocr/modeling/architectures/base_model.py", line 76, in init
self.head = build_head(config["Head"])
File "/home/kemove/zxProjects/ocrProject/PaddleOCR-release-2.7/ppocr/modeling/heads/init.py", line 71, in build_head
module_class = eval(module_name)(**config)
File "/home/kemove/zxProjects/ocrProject/PaddleOCR-release-2.7/ppocr/modeling/heads/rec_multi_head.py", line 75, in init
out_channels=out_channels_list['NRTRLabelDecode'])
KeyError: 'NRTRLabelDecode'
我发现out_channels_list[]中并没有关于NRTRLabelDecode任何内容,该如何解决这个问题,很急