README_en.md 5.7 KB
Newer Older
W
weishengyu 已提交
1 2 3 4 5 6
[简体中文](README.md) | English

# PaddleClas

## Introduction

L
lilithzhou 已提交
7
PaddleClas is an image recognition toolset for industry and academia, helping users train better computer vision models and apply them in real scenarios.
W
weishengyu 已提交
8

L
lilithzhou 已提交
9
**Recent updates**
W
weishengyu 已提交
10

L
littletomatodonkey 已提交
11
- 🔥🔥🔥: 2021.06.16 PaddleClas release/2.2.
L
lilithzhou 已提交
12 13
   - Add metric learning and vector search modules.
   - Add product recognition, animation character recognition, vehicle recognition and logo recognition.
W
weishengyu 已提交
14 15 16 17 18 19 20 21 22 23 24 25
   - Added 30 pretrained models of LeViT, Twins, TNT, DLA, HarDNet, and RedNet, and the accuracy is roughly the same as that of the paper.

- 2021.05.14
   - Add `SwinTransformer` series pretrained models, whose Top-1 Acc on ImageNet-1k dataset reaches 87.19%.

- 2021.04.15
   - Add `MixNet` and `ReXNet` pretrained models, `MixNet_L`'s Top-1 Acc on ImageNet-1k reaches 78.6% and `ReXNet_3_0` reaches 82.09%.

- [more](./docs/en/update_history_en.md)

## Features

L
lilithzhou 已提交
26 27
- A practical image recognition system consist of detection, feature learning and retrieval modules, widely applicable to all types of image recognition tasks.
Four sample solutions are provided, including product recognition, vehicle recognition, logo recognition and animation character recognition.
W
weishengyu 已提交
28

L
lilithzhou 已提交
29
- Rich library of pre-trained models: Provide a total of 164 ImageNet pre-trained models in 34 series, among which 6 selected series of models support fast structural modification.
W
weishengyu 已提交
30

L
lilithzhou 已提交
31
- Comprehensive and easy-to-use feature learning components: 12 metric learning methods are integrated and can be combined and switched at will through configuration files.
W
weishengyu 已提交
32

L
lilithzhou 已提交
33
- SSLD knowledge distillation: The 14 classification pre-training models generally improved their accuracy by more than 3%; among them, the ResNet50_vd model achieved a Top-1 accuracy of 84.0% on the Image-Net-1k dataset and the Res2Net200_vd pre-training model achieved a Top-1 accuracy of 85.1%.
W
weishengyu 已提交
34

L
lilithzhou 已提交
35
- Data augmentation: Provide 8 data augmentation algorithms such as AutoAugment, Cutout, Cutmix, etc.  with detailed introduction, code replication and evaluation of effectiveness in a unified experimental environment.
W
weishengyu 已提交
36

L
lilithzhou 已提交
37
 
W
weishengyu 已提交
38

L
lilithzhou 已提交
39 40 41 42
## Image Recognition System Effect Demonstration
<div align="center">
<img src="./docs/images/recognition.gif"  width = "400" />
</div>
W
weishengyu 已提交
43

L
lilithzhou 已提交
44
## Welcome to Join the Technical Exchange Group
W
weishengyu 已提交
45

L
lilithzhou 已提交
46
* You can also scan the QR code below to join the PaddleClas WeChat group to get more efficient answers to your questions and to communicate with developers from all walks of life. We look forward to hearing from you.
W
weishengyu 已提交
47 48

<div align="center">
L
lilithzhou 已提交
49
<img src="./docs/images/wx_group.png"  width = "200" />
W
weishengyu 已提交
50 51
</div>

L
lilithzhou 已提交
52
## Quick Start 
L
littletomatodonkey 已提交
53
Quick experience of image recognition:[Link](./docs/en/tutorials/quick_start_recognition_en.md)
W
weishengyu 已提交
54 55 56

## Tutorials

W
weishengyu 已提交
57 58
- [Quick Installatiopn](./docs/en/tutorials/install_en.md)
- [Quick Start of Recognition](./docs/en/tutorials/quick_start_recognition_en.md)
L
lilithzhou 已提交
59
- Algorithms Introduction(Updating)
W
weishengyu 已提交
60
    - Backbone Network and Pre-trained Model Library
L
littletomatodonkey 已提交
61
    - [Mainbody Detection](./docs/en/application/mainbody_detection_en.md)
W
weishengyu 已提交
62 63 64 65 66 67
    - [Image Classification](./docs/en/tutorials/image_classification_en.md)
    - [Feature Learning](./docs/en/application/feature_learning_en.md)
        - [Product Recognition](./docs/en/application/product_recognition_en.md)
        - [Vehicle Recognition](./docs/en/application/vehicle_recognition_en.md)
        - [Logo Recognition](./docs/en/application/logo_recognition_en.md)
        - [Animation Character Recognition](./docs/en/application/cartoon_character_recognition_en.md)
L
lilithzhou 已提交
68
        - [Vector Retrieval](./deploy/vector_search/README.md)
L
lilithzhou 已提交
69
- Models Training/Evaluation
W
weishengyu 已提交
70 71
    - [Image Classification](./docs/en/tutorials/getting_started_en.md)
    - Feature Learning
L
lilithzhou 已提交
72
- Inference Model Prediction(Updating)
W
weishengyu 已提交
73 74 75 76 77 78
    - Python Inference
    - [C++ Inference](./deploy/cpp/readme_en.md)(only support classification for now, recognition coming soon)
- Model Deploy (only support classification for now, recognition coming soon)
    - [Hub Serving Deployment](./deploy/hubserving/readme_en.md)
    - [Mobile Deployment](./deploy/lite/readme_en.md)
    - [Inference Using whl](./docs/en/whl_en.md)
L
lilithzhou 已提交
79
- Advanced Tutorial
W
weishengyu 已提交
80 81 82
    - [Knowledge Distillation](./docs/en/advanced_tutorials/distillation/distillation_en.md)
    - [Model Quantization](./docs/en/extension/paddle_quantization_en.md)
    - [Data Augmentation](./docs/en/advanced_tutorials/image_augmentation/ImageAugment_en.md)
W
weishengyu 已提交
83 84 85 86
- [License](#License)
- [Contribution](#Contribution)


L
lilithzhou 已提交
87
## Introduction to Image Recognition Systems
W
weishengyu 已提交
88

L
lilithzhou 已提交
89 90 91 92
<a name="Introduction to Image Recognition Systems"></a>
<div align="center">
<img src="./docs/images/structure.png"  width = "400" />
</div>
W
weishengyu 已提交
93

L
lilithzhou 已提交
94 95 96 97
Image recognition can be divided into three steps:
- (1)Identify region proposal for target objects through a detection model;
- (2)Extract features for each region proposal;
- (3)Search features in the retrieval database and output results;
W
weishengyu 已提交
98

L
lilithzhou 已提交
99
For a new unknown category, there is no need to retrain the model, just prepare images of new category, extract features and update retrieval database and the category can be recognised.
W
weishengyu 已提交
100 101 102

<a name="License"></a>

L
lilithzhou 已提交
103 104
## License
PaddleClas is released under the Apache 2.0 license <a href="https://github.com/PaddlePaddle/PaddleCLS/blob/master/LICENSE">Apache 2.0 license</a>
W
weishengyu 已提交
105 106 107 108 109 110


<a name="Contribution"></a>
## Contribution
Contributions are highly welcomed and we would really appreciate your feedback!!

L
lilithzhou 已提交
111

W
weishengyu 已提交
112 113 114
- Thank [nblib](https://github.com/nblib) to fix bug of RandErasing.
- Thank [chenpy228](https://github.com/chenpy228) to fix some typos PaddleClas.
- Thank [jm12138](https://github.com/jm12138) to add ViT, DeiT models and RepVGG models into PaddleClas.
L
lilithzhou 已提交
115
- Thank [FutureSI](https://aistudio.baidu.com/aistudio/personalcenter/thirdview/76563) to parse and summarize the PaddleClas code.