PaddlePaddle / Paddle

PArallel Distributed Deep LEarning: Machine Learning Framework from Industrial Practice (『飞桨』核心框架,深度学习&机器学习高性能单机、分布式训练和跨平台部署)
http://www.paddlepaddle.org/
Apache License 2.0
22.23k stars 5.58k forks source link

ocr model (如attention ocr , ctc)训练时的超参数在哪修改? #19531

Closed wenston2006 closed 5 years ago

qingqing01 commented 5 years ago
  1. 通过 入口参数可以改batch size等超参数。
    python train.py  --help
  2. 数据相关在

https://github.com/PaddlePaddle/models/blob/develop/PaddleCV/ocr_recognition/data_reader.py#L34

  1. 学些率、正则相关在

CTC: https://github.com/PaddlePaddle/models/blob/develop/PaddleCV/ocr_recognition/crnn_ctc_model.py#L187

Attention: https://github.com/PaddlePaddle/models/blob/develop/PaddleCV/ocr_recognition/attention_model.py#L20

该模型的易用性会加强~

wenston2006 commented 5 years ago

@qingqing01 谢谢