Skip to main content

An all-in-one toolkit for computer vision

Project description

PyPI Documentation Status license open issues GitHub pull-requests GitHub latest commit

EasyCV

English | 简体中文

Introduction

EasyCV is an all-in-one computer vision toolbox based on PyTorch, mainly focuses on self-supervised learning, transformer based models, and major CV tasks including image classification, metric-learning, object detection, pose estimation, and so on.

Major features

  • SOTA SSL Algorithms

    EasyCV provides state-of-the-art algorithms in self-supervised learning based on contrastive learning such as SimCLR, MoCO V2, Swav, DINO, and also MAE based on masked image modeling. We also provide standard benchmarking tools for ssl model evaluation.

  • Vision Transformers

    EasyCV aims to provide an easy way to use the off-the-shelf SOTA transformer models trained either using supervised learning or self-supervised learning, such as ViT, Swin Transformer, and DETR Series. More models will be added in the future. In addition, we support all the pretrained models from timm.

  • Functionality & Extensibility

    In addition to SSL, EasyCV also supports image classification, object detection, metric learning, and more areas will be supported in the future. Although covering different areas, EasyCV decomposes the framework into different components such as dataset, model and running hook, making it easy to add new components and combining it with existing modules.

    EasyCV provides simple and comprehensive interface for inference. Additionally, all models are supported on PAI-EAS, which can be easily deployed as online service and support automatic scaling and service monitoring.

  • Efficiency

    EasyCV supports multi-gpu and multi-worker training. EasyCV uses DALI to accelerate data io and preprocessing process, and uses TorchAccelerator and fp16 to accelerate training process. For inference optimization, EasyCV exports model using jit script, which can be optimized by PAI-Blade

What's New

[🔥 2023.05.09]

  • 09/05/2023 EasyCV v0.11.0 was released.

[🔥 2023.03.06]

  • 06/03/2023 EasyCV v0.10.0 was released.
  • Add segmentation model STDC
  • Add skeleton based video recognition model STGCN
  • Support ReID and Multi-len MOT

[🔥 2023.01.17]

  • 17/01/2023 EasyCV v0.9.0 was released.
  • Support Single-lens MOT
  • Support video recognition (X3D, SWIN-video)

[🔥 2022.12.02]

  • 02/12/2022 EasyCV v0.8.0 was released.
  • bevformer-base NDS increased by 0.8 on nuscenes val, training speed increased by 10%, and inference speed increased by 40%.
  • Support Objects365 pretrain and Adding the DINO++ model can achieve an accuracy of 63.4mAP at a model scale of 200M(Under the same scale, the accuracy is the best).

[🔥 2022.08.31] We have released our YOLOX-PAI that achieves SOTA results within 40~50 mAP (less than 1ms). And we also provide a convenient and fast export/predictor api for end2end object detection. To get a quick start of YOLOX-PAI, click here!

  • 31/08/2022 EasyCV v0.6.0 was released.
    • Release YOLOX-PAI which achieves SOTA results within 40~50 mAP (less than 1ms)
    • Add detection algo DINO which achieves 58.5 mAP on COCO
    • Add mask2former algo
    • Releases imagenet1k, imagenet22k, coco, lvis, voc2012 data with BaiduDisk to accelerate downloading

Please refer to change_log.md for more details and history.

Technical Articles

We have a series of technical articles on the functionalities of EasyCV.

Installation

Please refer to the installation section in quick_start.md for installation.

Get Started

Please refer to quick_start.md for quick start. We also provides tutorials for more usages.

notebook

Model Zoo

Architectures
Self-Supervised Learning Image Classification Object Detection Segmentation Object Detection 3D
  • Instance Segmentation
  • Semantic Segmentation
  • Panoptic Segmentation
  • Please refer to the following model zoo for more details.

    Data Hub

    EasyCV have collected dataset info for different scenarios, making it easy for users to finetune or evaluate models in EasyCV model zoo.

    Please refer to data_hub.md.

    License

    This project is licensed under the Apache License (Version 2.0). This toolkit also contains various third-party components and some code modified from other repos under other open source licenses. See the NOTICE file for more information.

    Contact

    This repo is currently maintained by PAI-CV team, you can contact us by

    Enterprise Service

    If you need EasyCV enterprise service support, or purchase cloud product services, you can contact us by DingDing Group.

    dingding_qrcode

    Project details


    Download files

    Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

    Source Distribution

    pai-easycv-0.11.7.tar.gz (6.2 MB view details)

    Uploaded Source

    Built Distribution

    If you're not sure about the file name format, learn more about wheel file names.

    pai_easycv-0.11.7-py3-none-any.whl (6.8 MB view details)

    Uploaded Python 3

    File details

    Details for the file pai-easycv-0.11.7.tar.gz.

    File metadata

    • Download URL: pai-easycv-0.11.7.tar.gz
    • Upload date:
    • Size: 6.2 MB
    • Tags: Source
    • Uploaded using Trusted Publishing? No
    • Uploaded via: twine/6.1.0 CPython/3.8.17

    File hashes

    Hashes for pai-easycv-0.11.7.tar.gz
    Algorithm Hash digest
    SHA256 916421ee23e87c2a7ab9e4496994de8bd49133c329a4e00cea83fd62a7ee8b33
    MD5 36da7c7dfb1e6103a9e194263727a05c
    BLAKE2b-256 37c128c58b10be096010f7ebca01ba8f2e851ef4c9b362eeb7e570558a8715f7

    See more details on using hashes here.

    File details

    Details for the file pai_easycv-0.11.7-py3-none-any.whl.

    File metadata

    • Download URL: pai_easycv-0.11.7-py3-none-any.whl
    • Upload date:
    • Size: 6.8 MB
    • Tags: Python 3
    • Uploaded using Trusted Publishing? No
    • Uploaded via: twine/6.1.0 CPython/3.8.17

    File hashes

    Hashes for pai_easycv-0.11.7-py3-none-any.whl
    Algorithm Hash digest
    SHA256 8bc7cec04a4460581a29232e5684dee0579c4134f119466f5c1152acb801f5e7
    MD5 27e9d2ade236743a8ef5f6ff14e46456
    BLAKE2b-256 72f2ca406df6180f75cfff3e6671d56d2e2311a7b5c002e4c9fa6e50f96fcb15

    See more details on using hashes here.

    Supported by

    AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page