A treasure chest for visual classification and recognition powered by PaddlePaddle
 
 
 
 
 
Go to file
gaotingquan 51ce8c7445 docs: update wechat group qr code, test=document_fix 2022-03-27 16:47:39 +08:00
.github/ISSUE_TEMPLATE add clas issue temp (#1078) 2021-07-23 20:17:44 +08:00
.travis
benchmark fix_scipts 2021-12-01 11:42:43 +00:00
dataset docs: update flower102 label map list 2021-11-10 00:16:23 +08:00
deploy Merge pull request #1754 from Intsigstephon/lite_demo_with_retrieval 2022-03-15 14:56:26 +08:00
docs docs: fix invalid links 2022-03-10 11:10:37 +08:00
ppcls feat: support mlu device and amp of mlu 2022-03-14 15:48:26 +08:00
test_tipc Merge pull request #1782 from RainFrost1/benchmark_bug 2022-03-24 14:43:29 +08:00
tests fix autolog warmup bug for whole train lite_train_infer mode 2021-10-18 10:18:43 +00:00
tools docs: fix invalid links 2022-01-17 21:14:38 +08:00
.clang_format.hook polish dygraph doc and deploy 2020-10-19 05:05:34 +00:00
.gitignore update vector search doc 2021-11-16 11:12:33 +08:00
.pre-commit-config.yaml
LICENSE
MANIFEST.in [WIP] Update whl (#995) 2021-07-06 23:27:43 +08:00
README.md Update README.md 2021-11-01 13:08:38 +08:00
README_ch.md docs: update wechat group qr code, test=document_fix 2022-03-27 16:47:39 +08:00
README_en.md docs: update wechat group qr code, test=document_fix 2022-03-27 16:47:39 +08:00
__init__.py feat: support Twins & PPLCNet 2021-11-15 06:53:34 +00:00
hubconf.py add logger init 2021-08-25 13:20:40 +08:00
paddleclas.py feat: support DLA & HarDNet & RedNet & ReXNet 2021-11-18 03:25:37 +00:00
requirements.txt update visualdl version 2021-10-11 17:14:54 +08:00
setup.py fix doc link 2022-03-04 14:50:57 +08:00

README_en.md

简体中文 | English

PaddleClas

Introduction

PaddleClas is an image recognition toolset for industry and academia, helping users train better computer vision models and apply them in real scenarios.

Recent updates

  • 2021.09.17 Add PP-LCNet series model developed by PaddleClas, these models show strong competitiveness on Intel CPUs. For the introduction of PP-LCNet, please refer to paper or PP-LCNet model introduction. The metrics and pretrained model are available here.

  • 2021.06.29 Add Swin-transformer series modelHighest top1 acc on ImageNet1k dataset reaches 87.2%, training, evaluation and inference are all supported. Pretrained models can be downloaded here.

  • 2021.06.16 PaddleClas release/2.2. Add metric learning and vector search modules. Add product recognition, animation character recognition, vehicle recognition and logo recognition. Added 30 pretrained models of LeViT, Twins, TNT, DLA, HarDNet, and RedNet, and the accuracy is roughly the same as that of the paper.

  • more

Features

  • 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.

  • Rich library of pre-trained models: Provide a total of 164 ImageNet pre-trained models in 35 series, among which 6 selected series of models support fast structural modification.

  • 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.

  • 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%.

  • 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.

Welcome to Join the Technical Exchange Group

  • 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.

Quick Start

Quick experience of image recognitionLink

Tutorials

Introduction to Image Recognition Systems

Image recognition can be divided into three steps:

  • 1Identify region proposal for target objects through a detection model
  • 2Extract features for each region proposal;
  • 3Search features in the retrieval database and output results;

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.

Demo images more

  • Product recognition
  • Cartoon character recognition
  • Logo recognition
  • Car recognition

License

PaddleClas is released under the Apache 2.0 license Apache 2.0 license

Contribution

Contributions are highly welcomed and we would really appreciate your feedback!!

  • Thank nblib to fix bug of RandErasing.
  • Thank chenpy228 to fix some typos PaddleClas.
  • Thank jm12138 to add ViT, DeiT models and RepVGG models into PaddleClas.
  • Thank FutureSI to parse and summarize the PaddleClas code.