From 390f240b822aac4f1e2b25a5eb5659ff11c9259a Mon Sep 17 00:00:00 2001 From: LDOUBLEV Date: Mon, 21 Dec 2020 16:30:04 +0800 Subject: [PATCH] python to python3 --- StyleText/README.md | 4 ++-- StyleText/README_ch.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/StyleText/README.md b/StyleText/README.md index f978f438..5262b505 100644 --- a/StyleText/README.md +++ b/StyleText/README.md @@ -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 ``` diff --git a/StyleText/README_ch.md b/StyleText/README_ch.md index a8ab933b..cce136c0 100644 --- a/StyleText/README_ch.md +++ b/StyleText/README_ch.md @@ -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 ``` -- GitLab