PINTO_model_zoo

PINTO0309MIT活跃维护

收集大量预训练模型,并已转成 TensorFlow、PyTorch、ONNX、OpenVINO、TFLite、CoreML 等格式,省去自己跨框架转换的麻烦。

A repository for storing models that have been inter-converted between various frameworks. Supported frameworks are TensorFlow, PyTorch, ONNX, OpenVINO, TFJS, TFTRT, TensorFlowLite (Float32/16/INT8), EdgeTPU, CoreML.

1.0.0发布于 2023-11-30 14:45 UTC4,636star669fork同步于 2026-11-10 17:38 UTC

怎么上手

由 README 提炼,执行前请确认
README 未提供安装命令,需进入对应模型编号目录查看各自说明
硬件要求按 README 说明

README 未说明具体显存或 GPU 型号要求;仅提到 RaspberryPi4/3 建议装 Ubuntu 19.10 aarch64 而非 Raspbian 32 位,因官方 TensorFlow Lite 针对 aarch64 调优,性能约高 4 倍

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

跨框架模型转换仓库,提供预量化的 TFLite、ONNX、OpenVINO、CoreML 等格式模型

收集大量预训练模型,并已转成 TensorFlow、PyTorch、ONNX、OpenVINO、TFLite、CoreML 等格式,省去自己跨框架转换的麻烦。

核心能力

  • 按编号分目录存放各模型的多框架转换产物
  • 提供 FP32、FP16、INT8、动态范围量化等多种精度版本
  • 覆盖 TensorFlow、PyTorch、ONNX、OpenVINO、TFJS、TFTRT、EdgeTPU、CoreML
  • 包含图像分类、人脸识别、行人重识别、车辆属性等预量化模型
  • 附作者自研的 tflite2tensorflow、onnx2tf 等配套转换工具

容易踩的坑

每个模型目录下的 LICENSE 需单独阅读,源模型许可证由提供方仓库决定;作者未提供示例代码,需自行验证模型运行;README 注明 MobileNetV3 backbone 与 Full Integer Quantization 模型当前不能正确返回结果

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

1 个版本1.0.0
  1. 1.0.0DOI最新正式版2023-11-30 · 2023-11-30 14:45 UTC

    DOI

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    PINTO_model_zoo

    CodeQL DOI Ask DeepWiki

    Please read the contents of the LICENSE file located directly under each folder before using the model. My model conversion scripts are released under the MIT license, but the license of the source model itself is subject to the license of the provider repository.

    Contributors

    Made with contrib.rocks.

    A repository for storing models that have been inter-converted between various frameworks. Supported frameworks are TensorFlow, PyTorch, ONNX, OpenVINO, TFJS, TFTRT, TensorFlowLite (Float32/16/INT8), EdgeTPU, CoreML.

    TensorFlow Lite, OpenVINO, CoreML, TensorFlow.js, TF-TRT, MediaPipe, ONNX [.tflite, .h5, .pb, saved_model, tfjs, tftrt, mlmodel, .xml/.bin, .onnx]

    I have been working on quantization of various models as a hobby, but I have skipped the work of making sample code to check the operation because it takes a lot of time. I welcome a pull request from volunteers to provide sample code. :smile:

    [Note Jan 05, 2020] Currently, the MobileNetV3 backbone model and the Full Integer Quantization model do not return correctly.

    [Note Jan 08, 2020] If you want the best performance with RaspberryPi4/3, install Ubuntu 19.10 aarch64 (64bit) instead of Raspbian armv7l (32bit). The official Tensorflow Lite is performance tuned for aarch64. On aarch64 OS, performance is about 4 times higher than on armv7l OS.

    My article

    List of pre-quantized models

    * WQ = Weight Quantization ** OV = OpenVINO IR *** CM = CoreML **** DQ = Dynamic Range Quantization

    1. Image Classification

    No.Model NameLinkFP32FP16INT8DQTPUWQOVCMTFJSTF-TRTONNXRemarks
    004Efficientnet■■■⚫⚫⚫
    010Mobilenetv3■■■⚫⚫⚫
    011Mobilenetv2■■■⚫⚫⚫⚫
    016Efficientnet-lite■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫
    070age-gender-recognition■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫
    083Person_Reidentification■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫248,277,286,287,288,300
    087DeepSort■■■⚫⚫⚫⚫⚫⚫⚫⚫
    124person-attributes-recognition-crossroad-0230■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫
    125person-attributes-recognition-crossroad-0234■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫
    126person-attributes-recognition-crossroad-0238■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫
    175face-recognition-resnet100-arcface-onnx■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫RGB/BGR,112x112,[1,512]
    187vehicle-attributes-recognition-barrier-0039■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫72x72
    188vehicle-attributes-recognition-barrier-0042■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫72x72
    191anti-spoof-mn3■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫128x128
    192open-closed-eye-0001■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫32x32
    194face_recognizer_fast■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫112x112
    195person_reid_youtu■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫256x128, ReID
    199NSFW■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫224x224
    244FINNger■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫96x96
    256SFace■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫112x112
    257PiCANet■■■⚫⚫BDDA,SAGE/224x224
    259Emotion_FERPlus■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫64x64
    290AdaFace■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫112x112
    317MobileOne■■■⚫224x224
    346facial_expression_recognition_mobilefacenet■■■⚫⚫⚫⚫⚫⚫112x112
    379PP-LCNetV2■■■⚫⚫⚫224x224
    429OSNet■■■⚫256x128, ReID
    430FastReID■■■⚫384x128, ReID
    431NITEC■■■⚫224x224, Gaze Estimation
    432face-reidentification-retail-0095■■■⚫⚫⚫128x128, FaceReID
    451DAN■■■⚫224x224, Facial Expression
    452FairFace■■■⚫224x224, Face Attribute
    453FairDAN■■■⚫224x224, Face Attribute + Facial Expression
    462Gaze-LLE■■■⚫448x448, Attention
    474Gaze-LLE-DINOv3■■■⚫640x640,416x416,320x320, Attention
    475VSDLM■■■⚫30x48, Lip motion
    476OCEC■■■⚫24x40, Wink/Blink
    477PGC■■■⚫32x32, Pointing
    478SC■■■⚫32x24, Sitting
    479PUC■■■⚫32x24, Phone Usage Classifier
    480HSC■■■⚫48x48, Happy smile classifier
    481WHC■■■⚫4x32x32,6x32x32,8x32x32, Waving Hand Classification
    483LVFace■■■⚫Nx3x112x112, Cosine similarity
    484TransFace■■■⚫Nx3x112x112, Cosine similarity
    486MWC■■■⚫Nx3x48x48, Mask wearing classifier
    489Glasses-Detector■■■⚫Glasses
    491SGC■■■⚫Sunglasses
    492HHC■■■⚫Hat
    494BPC■■■⚫Background Plain classification
    495Comprehensive-Head-Classification■■■⚫⚫Comprehensive head classification
    497PPC■■■⚫Binary classification to determine whether the subject is holding a smartphone
    502PersonViT■■■⚫Person Re-Identification
    503CDNet■■■⚫Person Re-Identification

    2. 2D Object Detection

    No.Model NameLinkFP32FP16INT8TPUDQWQOVCMTFJSTF-TRTONNXRemarks
    002Mobilenetv3-SSD■■■⚫⚫⚫⚫
    006Mobilenetv2-SSDlite■■■⚫⚫⚫⚫
    008Mask_RCNN_Inceptionv2■■■⚫⚫⚫
    018EfficientDet■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫
    023Yolov3-nano■■■⚫⚫⚫⚫
    024Yolov3-lite■■■⚫⚫⚫⚫⚫⚫
    031Yolov4■■■⚫⚫⚫⚫⚫⚫
    034SSD_Mobilenetv2_mnasfpn■■■⚫⚫⚫⚫⚫⚫
    038SSDlite_MobileDet_edgetpu■■■⚫⚫⚫⚫⚫⚫⚫⚫
    039SSDlite_MobileDet_cpu■■■⚫⚫⚫⚫
    042Centernet■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫
    045SSD_Mobilenetv2_oid_v4■■■⚫⚫⚫⚫⚫⚫
    046Yolov4-tiny■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫
    047SpineNetMB_49■■■⚫⚫⚫⚫⚫Mobile RetinaNet
    051East_Text_Detection■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫
    054KNIFT■■■⚫⚫⚫⚫⚫⚫MediaPipe
    056TextBoxes++ with dense blocks, separable convolution and Focal Loss■■■⚫⚫⚫⚫⚫⚫⚫⚫
    058keras-retinanet■■■⚫⚫⚫⚫⚫⚫⚫resnet50_coco_best_v2.1.0.h5,320x320
    072NanoDet■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫issue #274
    073RetinaNet■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫
    074Yolact■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫
    085Yolact_Edge■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫21/10/05 new MobileNetV2(550x550)
    089DETR■■■⚫⚫⚫⚫⚫256x256
    103EfficientDet_lite■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫lite0,lite1,lite2,lite3,lite4
    116DroNet■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫DroNet,DroNetV3
    123YOLOR■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫ssss_s2d/320x320,640x640,960x960,1280x1280
    132YOLOX■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫nano,tiny,s,m,l,x/256x320,320x320,416x416,480x640,544x960,736x1280,1088x1920
    143RAPiD■■■⚫⚫⚫⚫⚫⚫Fisheye, cepdof/habbof/mw_r, 608x608/1024x1024
    145text_detection_db■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫480x640
    151object_detection_mobile_object_localizer■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫192x192
    169spaghettinet_edgetpu■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫320x320,S/M/L
    174PP-PicoDet■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫S/M/L,320x320/416x416/640x640
    178vehicle-detection-0200■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫256x256,PriorBoxClustered->ndarray(0.npy)
    179person-detection-0202■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫512x512,PriorBoxClustered->ndarray(0.npy)
    183pedestrian-detection-adas-0002■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫384x672,PriorBox->ndarray(0.npy)
    184pedestrian-and-vehicle-detector-adas-0001■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫384x672,PriorBox->ndarray(0.npy)
    185person-vehicle-bike-detection-crossroad-0078■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫1024x1024,PriorBoxClustered->ndarray(0.npy)
    186person-vehicle-bike-detection-crossroad-1016■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫512x512,PriorBoxClustered->ndarray(0.npy)
    189vehicle-license-plate-detection-barrier-0106■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫300x300,PriorBoxClustered->ndarray(0.npy)
    190person-detection-asl-0001■■■⚫⚫⚫⚫⚫⚫⚫320x320
    197yolact-resnet50-fpn■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫RGB,550x550
    198YOLOF■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫BGR/RGB,608x608
    221YOLACT-PyTorch■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫180x320,240x320,320x480,480x640,544x544,720x1280
    226CascadeTableNet■■■⚫⚫⚫⚫⚫⚫General,320x320 only
    262ByteTrack■■■⚫YOLOX/nano,tiny,s,m,l,x,mot17,ablation/128x320,192x320,192x448,192x640,256x320,256x448,256x640,384x640,512x1280,736x1280
    264object_localization_network■■■⚫180x320,240x320,270x480,360x480,360x480,360x640,480x640,720x1280
    307YOLOv7■■■⚫⚫⚫⚫⚫⚫⚫⚫YOLOv7,YOLOv7-tiny
    308FastestDet■■■⚫⚫⚫⚫⚫⚫⚫⚫⚫180x320,256x320,320x480,352x352,352x640,480x640,736x1280
    329YOLOX-PAI■■■⚫
    332CrowdDet■■■⚫
    334DAMO-YOLO■■■⚫
    336PP-YOLOE-Plus■■■⚫
    337FreeYOLO■■■⚫
    341YOLOv6■■■⚫⚫⚫⚫⚫⚫
    356EdgeYOLO■■■⚫
    376RT-DETR■■■⚫ResNet50,ResNet101,HgNetv2-L,HgNetv2-X
    386naruto_handsign_detection■■■⚫⚫⚫⚫⚫
    422Gold-YOLO-Head-Hand■■■⚫Head,Hand
    424Gold-YOLO-Body■■■⚫Body
    425Gold-YOLO-Body-Head-Hand■■■⚫Body,Head,Hand
    426YOLOX-Body-Head-Hand■■■⚫⚫⚫⚫Body,Head,Hand, tflite float16 XNNPACK boost (ARMv8.2)
    434YOLOX-Body-Head-Hand-Face■■■⚫Body,Head,Hand,Face
    441YOLOX-Body-Head-Hand-Face-Dist■■■⚫Body,Head,Hand,Face,Complex Distorted
    442YOLOX-Body-Head-Face-HandLR-Dist■■■⚫Body,Head,Hands,Left-Hand,Right-Hand,Face,Complex Distorted
    444YOLOX-Foot-Dist■■■⚫Foot,Complex Distorted