PaddlePaddle / PaddleOCR

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)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

光功率计数码管字符识别 text_renderer

kingkingpang opened this issue · comments

请提供下述完整信息以便快速定位问题/Please provide the following information to quickly locate the problem

  • 系统环境/System Environment:python 3.7
  • 版本号/Version:PaddlePaddle 2.3.0 问题相关组件/Related components:
  • 运行指令/Command Code:
  • !python main.py
    --config example_data/digital_example.py
    --dataset img
    --num_processes 2
    --log_period 10
  • 完整报错/Complete Error Message:
  • name 'chn_data' is not defined
    Traceback (most recent call last):
    File "main.py", line 102, in
    generator_cfgs = get_cfg(args.config)
    File "/home/aistudio/text_renderer/text_renderer/config/init.py", line 202, in get_cfg
    raise RuntimeError(f"Load configs failed: {config_file}")
    RuntimeError: Load configs failed: example_data/digital_example.py

截屏2022-06-20 下午10 09 02

你好,麻烦给出具体的aistudio链接哈

项目代码已更新,可以再尝试下,或修改 example_data/digital_example.py 文件的82行:
image

@tink2123
image

改完了之后是这个样子的。