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
81488b13
"git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "55f8f4dc81923af2f86d0c4ae56c8a9e38fb7256"
Commit
81488b13
authored
Dec 16, 2020
by
weishengyu
Browse files
add file descriptions
parent
5fb8564b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
StyleText/README_ch.md
StyleText/README_ch.md
+15
-15
No files found.
StyleText/README_ch.md
View file @
81488b13
...
@@ -130,38 +130,38 @@ python3 -m tools.synth_image -c configs/config.yml --style_image examples/style_
...
@@ -130,38 +130,38 @@ python3 -m tools.synth_image -c configs/config.yml --style_image examples/style_
### 五、代码结构
### 五、代码结构
```
```
style_text_rec
style_text_rec
|-- arch
|-- arch
// 网络结构定义文件
| |-- base_module.py
| |-- base_module.py
| |-- decoder.py
| |-- decoder.py
| |-- encoder.py
| |-- encoder.py
| |-- spectral_norm.py
| |-- spectral_norm.py
| `-- style_text_rec.py
| `-- style_text_rec.py
|-- configs
|-- configs
// 配置文件
| |-- config.yml
| |-- config.yml
| `-- dataset_config.yml
| `-- dataset_config.yml
|-- engine
|-- engine
// 数据合成引擎
| |-- corpus_generators.py
| |-- corpus_generators.py
// 从文本采样或随机生成语料
| |-- predictors.py
| |-- predictors.py
// 调用网络生成数据
| |-- style_samplers.py
| |-- style_samplers.py
// 采样风格图片
| |-- synthesisers.py
| |-- synthesisers.py
// 调度各个模块,合成数据
| |-- text_drawers.py
| |-- text_drawers.py
// 生成标准文字图片,用作舒服
| `-- writers.py
| `-- writers.py
// 将合成的图片和标签写入本地目录
|-- examples
|-- examples
// 示例文件
| |-- corpus
| |-- corpus
| | `-- example.txt
| | `-- example.txt
| |-- image_list.txt
| |-- image_list.txt
| `-- style_images
| `-- style_images
| |-- 1.jpg
| |-- 1.jpg
| `-- 2.jpg
| `-- 2.jpg
|-- fonts
|-- fonts
// 字体文件
| |-- ch_standard.ttf
| |-- ch_standard.ttf
| |-- en_standard.ttf
| |-- en_standard.ttf
| `-- ko_standard.ttf
| `-- ko_standard.ttf
|-- tools
|-- tools
// 程序入口
| |-- __init__.py
| |-- __init__.py
| |-- synth_dataset.py
| |-- synth_dataset.py
// 批量合成数据
| `-- synth_image.py
| `-- synth_image.py
// 合成单张图片
`-- utils
`-- utils
// 其他基础功能模块
|-- config.py
|-- config.py
|-- load_params.py
|-- load_params.py
|-- logging.py
|-- logging.py
...
...
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