From b4d0ea7ee6a12e7e0c798d34c2f3894c5caf33ec Mon Sep 17 00:00:00 2001 From: xmy0916 <863299715@qq.com> Date: Thu, 21 Jan 2021 11:36:09 +0800 Subject: [PATCH] fix doc and mv imgs --- doc/doc_en/models_list_en.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/doc_en/models_list_en.md b/doc/doc_en/models_list_en.md index d6ffe58f..15fe81e0 100644 --- a/doc/doc_en/models_list_en.md +++ b/doc/doc_en/models_list_en.md @@ -54,6 +54,8 @@ The downloadable models provided by PaddleOCR include `inference model`, `traine **Note:** The configuration file of the new multi language model is generated by code. You can use the `--help` parameter to check which multi language are supported by current PaddleOCR. ```bash +# The code needs to run in the specified directory +cd {your/path/}PaddleOCR/configs/rec/multi_language/ python3 generate_multi_language_configs.py --help ``` @@ -62,7 +64,7 @@ Take the Italian configuration file as an example: you can generate the default configuration file through the following command, and use the default language dictionary provided by paddleocr for prediction. ```bash # The code needs to run in the specified directory -cd PaddleOCR/configs/rec/multi_language/ +cd {your/path/}PaddleOCR/configs/rec/multi_language/ # Set the required language configuration file through -l or --language parameter # This command will write the default parameter to the configuration file. python3 generate_multi_language_configs.py -l it @@ -74,6 +76,8 @@ If you want to train your own model, you can prepare the training set file, veri - Use the default dictionary provided by paddleocr:{your/path/}PaddleOCR/ppocr/utils/dict/it_dict.txt - Training data path:{your/path/}PaddleOCR/train_data ```bash +# The code needs to run in the specified directory +cd {your/path/}PaddleOCR/configs/rec/multi_language/ # The -l or --language parameter is required # --train modify train_list path # --val modify eval_list path -- GitLab