"...git@developer.sourcefind.cn:OpenDAS/lmdeploy.git" did not exist on "0a21fff9619a39d3b8105c065edb061f1f3b305d"
Commit 390f240b authored by LDOUBLEV's avatar LDOUBLEV
Browse files

python to python3

parent e1d11ae0
......@@ -119,7 +119,7 @@ In actual application scenarios, it is often necessary to synthesize pictures in
* `corpus_file`: Filepath of the corpus. Corpus file should be a text file which will be split by line-endings('\n'). Corpus generator samples one line each time.
Example of corpus file:
Example of corpus file:
```
PaddleOCR
飞桨文字识别
......@@ -136,7 +136,7 @@ We provide a general dataset containing Chinese, English and Korean (50,000 imag
2. You can run the following command to start synthesis task:
``` bash
python -m tools.synth_dataset.py -c configs/dataset_config.yml
python3 -m tools.synth_dataset.py -c configs/dataset_config.yml
```
......
......@@ -124,7 +124,7 @@ python3 -m tools.synth_image -c configs/config.yml --style_image examples/style_
2. 运行`tools/synth_dataset`合成数据:
``` bash
python -m tools.synth_dataset -c configs/dataset_config.yml
python3 -m tools.synth_dataset -c configs/dataset_config.yml
```
<a name="应用案例"></a>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment