diff --git a/docs/en/PULC/PULC_car_exists_en.md b/docs/en/PULC/PULC_car_exists_en.md index 91cc3733a0a256e5055c0c68b377b818a3a1f106..8338c909ae2746ce7e1419c2417b06aea782880f 100644 --- a/docs/en/PULC/PULC_car_exists_en.md +++ b/docs/en/PULC/PULC_car_exists_en.md @@ -137,7 +137,7 @@ print(next(result)) ### 3.1 Installation -Please refer to [Installation](../installation/install_paddleclas_en.md) to get the description about installation. +Please refer to [Installation](../installation.md) to get the description about installation. diff --git a/docs/en/PULC/PULC_code_exists_en.md b/docs/en/PULC/PULC_code_exists_en.md index 1cd245b5bf761043164b47d0171334d993924a00..51d24bf9beeec04a42aca263644925db4c7b6d3e 100644 --- a/docs/en/PULC/PULC_code_exists_en.md +++ b/docs/en/PULC/PULC_code_exists_en.md @@ -139,7 +139,7 @@ print(next(result)) ### 3.1 Installation -* Please refer to [Installation](../installation/install_paddleclas_en.md) to get the description about installation. +* Please refer to [Installation](../installation.md) to get the description about installation. diff --git a/docs/en/PULC/PULC_language_classification_en.md b/docs/en/PULC/PULC_language_classification_en.md index 450f3e75629e7b63bb0d5381f7f3b3d3b23f6d60..a1f1d7488543c76dd8c0f91390859c892ef3af26 100644 --- a/docs/en/PULC/PULC_language_classification_en.md +++ b/docs/en/PULC/PULC_language_classification_en.md @@ -136,7 +136,7 @@ print(next(result)) ### 3.1 Installation -Please refer to [Installation](../installation/install_paddleclas_en.md) to get the description about installation. +Please refer to [Installation](../installation.md) to get the description about installation. diff --git a/docs/en/PULC/PULC_person_attribute_en.md b/docs/en/PULC/PULC_person_attribute_en.md index 3d6f70fcab3bd371a00edbc74d274ea304eaf907..b2176f374e02a1dc86eeb19fae0f5b6827c03f46 100644 --- a/docs/en/PULC/PULC_person_attribute_en.md +++ b/docs/en/PULC/PULC_person_attribute_en.md @@ -160,7 +160,7 @@ print(next(result)) ### 3.1 Installation -Please refer to [Installation](../installation/install_paddleclas_en.md) to get the description about installation. +Please refer to [Installation](../installation.md) to get the description about installation. diff --git a/docs/en/PULC/PULC_person_exists_en.md b/docs/en/PULC/PULC_person_exists_en.md index 31d452fd767a802f4421a3d65a034cbf9f482b1f..8ace79b6aba6d02bddfc16212b0653f63eacc443 100644 --- a/docs/en/PULC/PULC_person_exists_en.md +++ b/docs/en/PULC/PULC_person_exists_en.md @@ -136,7 +136,7 @@ print(next(result)) ### 3.1 Installation -Please refer to [Installation](../installation/install_paddleclas_en.md) to get the description about installation. +Please refer to [Installation](../installation.md) to get the description about installation. diff --git a/docs/en/PULC/PULC_safety_helmet_en.md b/docs/en/PULC/PULC_safety_helmet_en.md index d79b4afeefcd878b64790bc2769df780f9965d5f..352286e0adbb336133255722fa2528f898db17b0 100644 --- a/docs/en/PULC/PULC_safety_helmet_en.md +++ b/docs/en/PULC/PULC_safety_helmet_en.md @@ -137,7 +137,7 @@ print(next(result)) ### 3.1 Installation -Please refer to [Installation](../installation/install_paddleclas_en.md) to get the description about installation. +Please refer to [Installation](../installation.md) to get the description about installation. diff --git a/docs/en/PULC/PULC_text_image_orientation_en.md b/docs/en/PULC/PULC_text_image_orientation_en.md index cf530905d2d22ecff40cba4ba9ad5f5b8eadfee9..9d3703b5fd47656dcf6280c4933a6929258061b4 100644 --- a/docs/en/PULC/PULC_text_image_orientation_en.md +++ b/docs/en/PULC/PULC_text_image_orientation_en.md @@ -133,7 +133,7 @@ print(next(result)) ### 3.1 Installation -Please refer to [Installation](../installation/install_paddleclas_en.md) to get the description about installation. +Please refer to [Installation](../installation.md) to get the description about installation. diff --git a/docs/en/PULC/PULC_textline_orientation_en.md b/docs/en/PULC/PULC_textline_orientation_en.md index fc4d540bc094a30daae0105707decec11871120d..a4eeae1b2369b82a9b0650ac73c4321ae821977a 100644 --- a/docs/en/PULC/PULC_textline_orientation_en.md +++ b/docs/en/PULC/PULC_textline_orientation_en.md @@ -138,7 +138,7 @@ print(next(result)) ### 3.1 Installation -Please refer to [Installation](../installation/install_paddleclas_en.md) to get the description about installation. +Please refer to [Installation](../installation.md) to get the description about installation. diff --git a/docs/en/PULC/PULC_traffic_sign_en.md b/docs/en/PULC/PULC_traffic_sign_en.md index e235ca9272acdf1cb84e9a97e7bfe9cf69ea44f6..97066a3f38f10c3c0a9075c1fb6c96156db9d2e9 100644 --- a/docs/en/PULC/PULC_traffic_sign_en.md +++ b/docs/en/PULC/PULC_traffic_sign_en.md @@ -136,7 +136,7 @@ print(next(result)) ### 3.1 Installation -Please refer to [Installation](../installation/install_paddleclas_en.md) to get the description about installation. +Please refer to [Installation](../installation.md) to get the description about installation. diff --git a/docs/en/PULC/PULC_vehicle_attribute_en.md b/docs/en/PULC/PULC_vehicle_attribute_en.md index b831e7100283fd3319313968458e1a4beb354e19..15af75f8066e3d3cdcdc766885bfd4f8c7cd44d1 100644 --- a/docs/en/PULC/PULC_vehicle_attribute_en.md +++ b/docs/en/PULC/PULC_vehicle_attribute_en.md @@ -142,7 +142,7 @@ print(next(result)) ### 3.1 Installation -Please refer to [Installation](../installation/install_paddleclas_en.md) to get the description about installation. +Please refer to [Installation](../installation.md) to get the description about installation. diff --git a/docs/en/advanced_tutorials/knowledge_distillation_en.md b/docs/en/advanced_tutorials/knowledge_distillation_en.md index a6672b800b76c3cec4348b481366d54f06fbdc83..b3f697e518b0a6e3f1c094c6cbfc88a872646879 100644 --- a/docs/en/advanced_tutorials/knowledge_distillation_en.md +++ b/docs/en/advanced_tutorials/knowledge_distillation_en.md @@ -805,7 +805,7 @@ Loss: ### 2.1 Environment Configuration -* Installation: Please refer to [Paddle Installation Tutorial](../installation/install_paddle_en.md) and [PaddleClas Installation Tutorial](../installation/install_paddleclas_en.md) to configure the running environment. +* Installation: Please refer to [Installation Tutorial](../installation.md) to configure the running environment. diff --git a/docs/en/inference_deployment/export_model_en.md b/docs/en/inference_deployment/export_model_en.md index 062ee1bcec9534d57ee4b8e41b0fec9e9faceca5..32f20405813a3837ab1312909193cb5d179c9622 100644 --- a/docs/en/inference_deployment/export_model_en.md +++ b/docs/en/inference_deployment/export_model_en.md @@ -17,7 +17,7 @@ PaddlePaddle supports exporting inference model for deployment. Compared with tr ## 1. Environmental preparation -First, refer to the [Installing PaddlePaddle](../installation/install_paddle_en.md) and the [Installing PaddleClas](../installation/install_paddleclas_en.md) to prepare environment. +First, refer to the [Installing PaddleClas](../installation.md) to prepare environment. diff --git a/docs/en/inference_deployment/python_deploy_en.md b/docs/en/inference_deployment/python_deploy_en.md index 22dd4e609897af380b5b4bdee6d1688ee0a26de8..c26c44ab60e7942c1754151abb49850a7d21f665 100644 --- a/docs/en/inference_deployment/python_deploy_en.md +++ b/docs/en/inference_deployment/python_deploy_en.md @@ -6,7 +6,7 @@ The model saved during the training process is the checkpoints model, which save Compared with the checkpoints model, the inference model will additionally save the structural information of the model. Therefore, it is easier to deploy because the model structure and model parameters are already solidified in the inference model file, and is suitable for integration with actual systems. -Please refer to the document [install paddle](../installation/install_paddle_en.md) and [install paddleclas](../installation/install_paddleclas_en.md) to prepare the environment. +Please refer to the document [install paddleclas](../installation.md) to prepare the environment. --- diff --git a/docs/en/models/PP-HGNet_en.md b/docs/en/models/PP-HGNet_en.md index 0184e1585506b8ccc5033a3d6c5f4392fed7d2e7..7e50c6e6a08c3a467d275400c0b0124edf8c41bf 100644 --- a/docs/en/models/PP-HGNet_en.md +++ b/docs/en/models/PP-HGNet_en.md @@ -170,7 +170,7 @@ The result of demo above: ### 3.1 Installation -Please refer to [Installation](../installation/install_paddleclas_en.md) to get the description about installation. +Please refer to [Installation](../installation.md) to get the description about installation. diff --git a/docs/en/models/PP-LCNet_en.md b/docs/en/models/PP-LCNet_en.md index d5786996d8d35e9eb50c837903b6ebd3d7b0e761..be1a5365be892db683ff2eae830f212a64bc535b 100644 --- a/docs/en/models/PP-LCNet_en.md +++ b/docs/en/models/PP-LCNet_en.md @@ -220,7 +220,7 @@ The result of demo above: ### 3.1 Installation -Please refer to [Installation](../installation/install_paddleclas_en.md) to get the description about installation. +Please refer to [Installation](../installation.md) to get the description about installation. diff --git a/docs/en/models_training/classification_en.md b/docs/en/models_training/classification_en.md index d6a742bd4cdd9fb3eefec7545183177e5b723230..5d0fcf93e6ea906b747102fef11191d02671e71e 100644 --- a/docs/en/models_training/classification_en.md +++ b/docs/en/models_training/classification_en.md @@ -86,7 +86,7 @@ After a model is trained, the evaluation results of the model on the validation ## 3. Application Methods -Please refer to [Installation](../installation/install_paddleclas_en.md) to setup environment at first, and prepare flower102 dataset by following the instruction mentioned in the [Quick Start](../quick_start/quick_start_classification_new_user_en.md). +Please refer to [Installation](../installation.md) to setup environment at first, and prepare flower102 dataset by following the instruction mentioned in the [Quick Start](../quick_start/quick_start_classification_new_user_en.md). So far, PaddleClas supports the following training/evaluation environments: diff --git a/docs/en/models_training/recognition_en.md b/docs/en/models_training/recognition_en.md index 57f2b126a54749076f45662971e87c93f909bb91..638754f2f40bbd32c09a6141e5f1ff6c9db34690 100644 --- a/docs/en/models_training/recognition_en.md +++ b/docs/en/models_training/recognition_en.md @@ -16,7 +16,7 @@ The feature gallery is built in advance using the labeled image datasets. The co To experience the whole image recognition system, or learn how to build a feature gallery, please refer to [Quick Start of Image Recognition](../quick_start/quick_start_recognition_en.md), which explains the overall application process. The following parts expound on the training part of the above three steps. -Please first refer to the [Installation Guide](../installation/install_paddleclas_en.md) to configure the runtime environment. +Please first refer to the [Installation Guide](../installation.md) to configure the runtime environment. ## Catalogue diff --git a/docs/en/quick_start/quick_start_classification_new_user_en.md b/docs/en/quick_start/quick_start_classification_new_user_en.md index 12a5e741e52256557155bd47ac952e57ea95ef6f..2f1dc4ddc3775e24cc6ddaec8165de11e05a2778 100644 --- a/docs/en/quick_start/quick_start_classification_new_user_en.md +++ b/docs/en/quick_start/quick_start_classification_new_user_en.md @@ -48,7 +48,7 @@ Image classification is a pattern classification problem, which is the most basi ## 2. Environmental installation and configuration -For specific installation steps, please refer to [Paddle Installation Document](../installation/install_paddle_en.md), [PaddleClas Installation Document](../installation/install_paddleclas_en.md). +For specific installation steps, please refer to [Installation Document](../installation.md). ## 3. Data preparation and processing @@ -191,4 +191,4 @@ The `-i` parameter can also be the directory of the image file to be tested (`da `[{'class_ids': [76, 51, 37, 33, 9], 'scores': [0.99998, 0.0, 0.0, 0.0, 0.0], 'file_name': 'dataset/flowers102/jpg/image_00001.jpg', 'label_names': ['passion flower', 'wild pansy', 'great masterwort', 'mexican aster', 'globe thistle']}, {'class_ids': [76, 51, 37, 33, 32], 'scores': [0.99999, 0.0, 0.0, 0.0, 0.0], 'file_name': 'dataset/flowers102/jpg/image_00002.jpg', 'label_names': ['passion flower', 'wild pansy', 'great masterwort', 'mexican aster', 'love in the mist']}, {'class_ids': [76, 12, 39, 73, 78], 'scores': [0.99998, 0.0, 0.0, 0.0, 0.0], 'file_name': 'dataset/flowers102/jpg/image_00003.jpg', 'label_names': ['passion flower', 'king protea', 'lenten rose', 'rose', 'toad lily']}, {'class_ids': [76, 37, 34, 12, 9], 'scores': [0.86282, 0.11177, 0.00717, 0.00599, 0.00397], 'file_name': 'dataset/flowers102/jpg/image_00004.jpg', 'label_names': ['passion flower', 'great masterwort', 'alpine sea holly', 'king protea', 'globe thistle']}, {'class_ids': [76, 37, 33, 51, 69], 'scores': [0.9999, 1e-05, 1e-05, 0.0, 0.0], 'file_name': 'dataset/flowers102/jpg/image_00005.jpg', 'label_names': ['passion flower', 'great masterwort', 'mexican aster', 'wild pansy', 'tree poppy']}, {'class_ids': [76, 37, 51, 33, 73], 'scores': [0.99999, 0.0, 0.0, 0.0, 0.0], 'file_name': 'dataset/flowers102/jpg/image_00006.jpg', 'label_names': ['passion flower', 'great masterwort', 'wild pansy', 'mexican aster', 'rose']}, {'class_ids': [76, 37, 12, 91, 30], 'scores': [0.98746, 0.00211, 0.00201, 0.00136, 0.0007], 'file_name': 'dataset/flowers102/jpg/image_00007.jpg', 'label_names': ['passion flower', 'great masterwort', 'king protea', 'bee balm', 'carnation']}, {'class_ids': [76, 37, 81, 77, 72], 'scores': [0.99976, 3e-05, 2e-05, 2e-05, 1e-05], 'file_name': 'dataset/flowers102/jpg/image_00008.jpg', 'label_names': ['passion flower', 'great masterwort', 'clematis', 'lotus', 'water lily']}, {'class_ids': [76, 37, 13, 12, 34], 'scores': [0.99646, 0.00144, 0.00092, 0.00035, 0.00027], 'file_name': 'dataset/flowers102/jpg/image_00009.jpg', 'label_names': ['passion flower', 'great masterwort', 'spear thistle', 'king protea', 'alpine sea holly']}, {'class_ids': [76, 37, 34, 33, 51], 'scores': [0.99999, 0.0, 0.0, 0.0, 0.0], 'file_name': 'dataset/flowers102/jpg/image_00010.jpg', 'label_names': ['passion flower', 'great masterwort', 'alpine sea holly', 'mexican aster', 'wild pansy']}]` -Among them, the length of the list is the size of batch_size. \ No newline at end of file +Among them, the length of the list is the size of batch_size. diff --git a/docs/en/quick_start/quick_start_classification_professional_en.md b/docs/en/quick_start/quick_start_classification_professional_en.md index 840643aafe4e9d432331910fabbb42978105e645..3baca3c73950325061cfb692f09e704789396d32 100644 --- a/docs/en/quick_start/quick_start_classification_professional_en.md +++ b/docs/en/quick_start/quick_start_classification_professional_en.md @@ -1,6 +1,6 @@ # Trial in 30mins(professional) -Here is a quick start tutorial for professional users to use PaddleClas on the Linux operating system. The main content is based on the CIFAR-100 data set. You can quickly experience the training of different models, experience loading different pre-trained models, experience the SSLD knowledge distillation solution, and experience data augmentation. Please refer to [Installation Guide](../installation/install_paddleclas_en.md) to configure the operating environment and clone PaddleClas code. +Here is a quick start tutorial for professional users to use PaddleClas on the Linux operating system. The main content is based on the CIFAR-100 data set. You can quickly experience the training of different models, experience loading different pre-trained models, experience the SSLD knowledge distillation solution, and experience data augmentation. Please refer to [Installation Guide](../installation.md) to configure the operating environment and clone PaddleClas code. ------ @@ -37,7 +37,7 @@ Here is a quick start tutorial for professional users to use PaddleClas on the L cd path_to_PaddleClas ``` - + #### 1.1.1 Prepare CIFAR100 @@ -54,11 +54,11 @@ cd ../ ## 2. Model training - + ### 2.1 Single label training - + #### 2.1.1 Training without loading the pre-trained model @@ -93,7 +93,7 @@ python3 -m paddle.distributed.launch \ * Since the initial learning rate and batch-size need to maintain a linear relationship, when training is switched from 4 GPUs to 1 GPU, the total batch-size is reduced to 1/4 of the original, and the learning rate also needs to be reduced to 1/4 of the original, so changed the default learning rate from 0.04 to 0.01. - + #### 2.1.2 Transfer learning @@ -148,7 +148,7 @@ The highest accuracy of the validation set is about 0.601, which is nearly 12% l PaddleClas contains many data augmentation methods, such as Mixup, Cutout, RandomErasing, etc. For specific methods, please refer to [Data augmentation chapter](../algorithm_introduction/DataAugmentation_en.md)。 - + ### 3.1 Data augmentation-Mixup @@ -245,11 +245,11 @@ In the end, the accuracy on the CIFAR100 validation set was 64.4%. Using the tea ## 5. Model evaluation and inference - + ### 5.1 Single-label classification model evaluation and inference - + #### 5.1.1 Single-label classification model evaluation @@ -261,7 +261,7 @@ python3 tools/eval.py \ -o Global.pretrained_model="output_CIFAR/ResNet50_vd/best_model" ``` - + #### 5.1.2 Single-label classification model prediction @@ -274,7 +274,7 @@ python3 tools/infer.py \ -o Global.pretrained_model=output_CIFAR/ResNet50_vd/best_model ``` - + #### 5.1.3 Single-label classification uses inference model for model inference diff --git a/docs/en/quick_start/quick_start_multilabel_classification_en.md b/docs/en/quick_start/quick_start_multilabel_classification_en.md index 8d267773f469d3339000b1bf3a5ef17ef3168683..1ace50b4781850e713e686268348ad271531ba26 100644 --- a/docs/en/quick_start/quick_start_multilabel_classification_en.md +++ b/docs/en/quick_start/quick_start_multilabel_classification_en.md @@ -1,6 +1,6 @@ # Quick Start of Multi-label Classification -Experience the training, evaluation, and prediction of multi-label classification based on the [NUS-WIDE-SCENE](https://lms.comp.nus.edu.sg/wp-content/uploads/2019/research/nuswide/NUS-WIDE.html) dataset, which is a subset of the NUS-WIDE dataset. Please first install PaddlePaddle and PaddleClas, see [Paddle Installation](../installation/install_paddle_en.md) and [PaddleClas installation](../installation/install_paddleclas_en.md) for more details. +Experience the training, evaluation, and prediction of multi-label classification based on the [NUS-WIDE-SCENE](https://lms.comp.nus.edu.sg/wp-content/uploads/2019/research/nuswide/NUS-WIDE.html) dataset, which is a subset of the NUS-WIDE dataset. Please first install PaddlePaddle and PaddleClas, see [Installation Doc](../installation.md) for more details. ## Catalogue diff --git a/docs/en/quick_start/quick_start_recognition_en.md b/docs/en/quick_start/quick_start_recognition_en.md index cc84ccf48f78144aaa2c97f3637b77d1d1bcb8e5..bce71cfdf9d94ac93146f8f931cb9e497483537e 100644 --- a/docs/en/quick_start/quick_start_recognition_en.md +++ b/docs/en/quick_start/quick_start_recognition_en.md @@ -99,7 +99,7 @@ One can preview it according to the instructions in [Function Experience - Previ ### 2.1 Environment configuration -* Installation: Please refer to the document [Environment Preparation](../installation/install_paddleclas_en.md) to configure the PaddleClas operating environment. +* Installation: Please refer to the document [Environment Preparation](../installation.md) to configure the PaddleClas operating environment. * Go to the `deploy` run directory. All the content and scripts in this section need to be run in the `deploy` directory, you can enter the `deploy` directory with the following scripts.