Skip to content

Commit

Permalink
Update README.MD
Browse files Browse the repository at this point in the history
  • Loading branch information
Yakuho authored Sep 2, 2021
1 parent 36fd4d4 commit f6b36be
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -90,25 +90,24 @@ m.predict(font_file='./evaluate/KS01.ttf') # 传入字体文件路
<details>
<summary>5. 配置文件</summary>

./config.json 保存模型的相关设置
config.json 保存模型的相关设置
solver/config.json 保存模型优化器, 损失函数等相关配置

- 必填项
- config.json必填项

- datasets -> class_list: 分类标签清单的路径
- datasets -> train -> path: 训练集目录
- datasets -> valid -> path: 验证集目录
- datasets -> valid -> epochs: 训练的轮次

- 选填项
- config.json选填项
- model -> restore: 是否继续恢复训练
- model -> checkpoint: 恢复训练的checkpoint文件路径
- model -> pre-training: 是否使用预训练权重
- model -> weights: 预训练权重的路径
- save -> model_name: 最后保存模型的名字
- save -> root_path: 保存模型的路径名
- save -> ckpt_freq: 检查点保存的频率(epoch为基准)

./solver/config.json 保存模型优化器, 损失函数等相关配置

</details>

Expand Down

0 comments on commit f6b36be

Please sign in to comment.