diff --git a/StyleText/README.md b/StyleText/README.md index 697f439c0e9714be3cfd6fd5833d128d7f126538..3e14e320334c77723f0a493718d731efd354ea69 100644 --- a/StyleText/README.md +++ b/StyleText/README.md @@ -124,7 +124,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 飞桨文字识别 diff --git a/StyleText/README_ch.md b/StyleText/README_ch.md index ca7f712248001bdba4debed9befe83233648cfab..fd259ca018efcdcf6bdd1040ee1642424c120ae7 100644 --- a/StyleText/README_ch.md +++ b/StyleText/README_ch.md @@ -128,7 +128,7 @@ python3 tools/synth_image.py -c configs/config.yml --style_image examples/style_ 2. 运行`tools/synth_dataset`合成数据: ``` bash - python tools/synth_dataset.py -c configs/dataset_config.yml + python3 tools/synth_dataset.py -c configs/dataset_config.yml ``` 我们在examples目录下提供了样例图片和语料。