Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
91ec5066
Unverified
Commit
91ec5066
authored
Jun 08, 2021
by
MissPenguin
Committed by
GitHub
Jun 08, 2021
Browse files
Update config.md
parent
389e7f57
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
doc/doc_ch/config.md
doc/doc_ch/config.md
+2
-2
No files found.
doc/doc_ch/config.md
View file @
91ec5066
...
...
@@ -111,9 +111,9 @@
| 字段 | 用途 | 默认值 | 备注 |
| :---------------------: | :---------------------: | :--------------: | :--------------------: |
|
**dataset**
| 每次迭代返回一个样本 | - | - |
| name | dataset类名 | SimpleDataSet | 目前支持
`SimpleDataSet`
和
`LMDBDat
e
Set`
|
| name | dataset类名 | SimpleDataSet | 目前支持
`SimpleDataSet`
和
`LMDBDat
a
Set`
|
| data_dir | 数据集图片存放路径 | ./train_data |
\
|
| label_file_list | 数据标签路径 | ["./train_data/train_list.txt"] | dataset为LMDBDat
e
Set时不需要此参数 |
| label_file_list | 数据标签路径 | ["./train_data/train_list.txt"] | dataset为LMDBDat
a
Set时不需要此参数 |
| ratio_list | 数据集的比例 | [1.0] | 若label_file_list中有两个train_list,且ratio_list为[0.4,0.6],则从train_list1中采样40%,从train_list2中采样60%组合整个dataset |
| transforms | 对图片和标签进行变换的方法列表 |
[
DecodeImage,CTCLabelEncode,RecResizeImg,KeepKeys] | 见[ppocr/data/imaug
](
../../ppocr/data/imaug
)
|
|
**loader**
| dataloader相关 | - | |
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment