diff --git a/doc/doc_en/models_list_en.md b/doc/doc_en/models_list_en.md index d6ffe58f053df6535879da431587482e922c2b45..15fe81e0de98d9a72d3df6bbfe1653b625908fd1 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