From f7c439a08870f30095d4f748c32fbd6934b98b4f Mon Sep 17 00:00:00 2001 From: WenmuZhou <572459439@qq.com> Date: Thu, 21 Apr 2022 17:26:33 +0800 Subject: [PATCH] update doc --- doc/doc_ch/config.md | 24 ++++++++++++------------ doc/doc_en/config_en.md | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/doc/doc_ch/config.md b/doc/doc_ch/config.md index 1668eba1..3c62acea 100644 --- a/doc/doc_ch/config.md +++ b/doc/doc_ch/config.md @@ -45,18 +45,18 @@ ### Optimizer ([ppocr/optimizer](../../ppocr/optimizer)) -| 字段 | 用途 | 默认值 | 备注 | -| :---------------------: | :---------------------: | :--------------: | :--------------------: | -| name | 优化器类名 | Adam | 目前支持`Momentum`,`Adam`,`RMSProp`, 见[ppocr/optimizer/optimizer.py](../../ppocr/optimizer/optimizer.py) | -| beta1 | 设置一阶矩估计的指数衰减率 | 0.9 | \ | -| beta2 | 设置二阶矩估计的指数衰减率 | 0.999 | \ | -| clip_norm | 所允许的二范数最大值 | | \ | -| **lr** | 设置学习率decay方式 | - | \ | -| name | 学习率decay类名 | Cosine | 目前支持`Linear`,`Cosine`,`Step`,`Piecewise`, 见[ppocr/optimizer/learning_rate.py](../../ppocr/optimizer/learning_rate.py) | -| learning_rate | 基础学习率 | 0.001 | \ | -| **regularizer** | 设置网络正则化方式 | - | \ | -| name | 正则化类名 | L2 | 目前支持`L1`,`L2`, 见[ppocr/optimizer/regularizer.py](../../ppocr/optimizer/regularizer.py) | -| factor | 学习率衰减系数 | 0.00004 | \ | +| 字段 | 用途 | 默认值 | 备注 | +| :---------------------: |:-------------:|:-------------:| :--------------------: | +| name | 优化器类名 | Adam | 目前支持`Momentum`,`Adam`,`RMSProp`, 见[ppocr/optimizer/optimizer.py](../../ppocr/optimizer/optimizer.py) | +| beta1 | 设置一阶矩估计的指数衰减率 | 0.9 | \ | +| beta2 | 设置二阶矩估计的指数衰减率 | 0.999 | \ | +| clip_norm | 所允许的二范数最大值 | | \ | +| **lr** | 设置学习率decay方式 | - | \ | +| name | 学习率decay类名 | Cosine | 目前支持`Linear`,`Cosine`,`Step`,`Piecewise`, 见[ppocr/optimizer/learning_rate.py](../../ppocr/optimizer/learning_rate.py) | +| learning_rate | 基础学习率 | 0.001 | \ | +| **regularizer** | 设置网络正则化方式 | - | \ | +| name | 正则化类名 | L2 | 目前支持`L1`,`L2`, 见[ppocr/optimizer/regularizer.py](../../ppocr/optimizer/regularizer.py) | +| factor | 正则化系数 | 0.00001 | \ | ### Architecture ([ppocr/modeling](../../ppocr/modeling)) diff --git a/doc/doc_en/config_en.md b/doc/doc_en/config_en.md index d7bf5ead..68c2b5f0 100644 --- a/doc/doc_en/config_en.md +++ b/doc/doc_en/config_en.md @@ -56,7 +56,7 @@ Take rec_chinese_lite_train_v2.0.yml as an example | learning_rate | Set the base learning rate | 0.001 | \ | | **regularizer** | Set network regularization method | - | \ | | name | Regularizer class name | L2 | Currently support`L1`,`L2`, see[ppocr/optimizer/regularizer.py](../../ppocr/optimizer/regularizer.py) | -| factor | Learning rate decay coefficient | 0.00004 | \ | +| factor | Regularizer coefficient | 0.00001 | \ | ### Architecture ([ppocr/modeling](../../ppocr/modeling)) -- GitLab