onnx /models
A collection of pre-trained, state-of-the-art models in the ONNX format
★ 9,859⑂ 1,589👁 199⑃ 280● 403▤ 0
+1
Daily
9,859
stars
1,589
forks
199
watchers
280
prs
403
issues
0
releases
README
Deprecation Notice: We sincerely thank the community for participating in the ONNX Model Zoo effort. As the machine learning ecosystem has evolved, much of the novel model sharing has successfully transitioned to Hugging Face, which maintains a vibrant and healthy state. We are preserving the ONNX Model Zoo repository for historical purposes only. Please note that models will no longer be available for LFS download starting July 1st, 2025. You can still get access to the models that were originally available on this repository by going to https://huggingface.co/onnxmodelzoo. ONNX Model Zoo Introduction Welcome to the ONNX Model Zoo! The Open Neural Network Exchange (ONNX) is an open standard format created to represent machine learning models. Supported by a robust community of partners, ONNX defines a common set of operators and a common file format to enable AI developers to use models with a variety of frameworks, tools, runtimes, and compilers. This repository is a curated collection of pre-trained, state-of-the-art models in the ONNX format. These models are sourced from prominent open-source repositories and have been contributed by a diverse group of community members. Our aim is to facilitate the spread and usage of machine learning models among a wider audience of developers, researchers, and enthusiasts. To handle ONNX model files, which can be large, we use Git LFS (Large File Storage). Models Currently, we are expanding the ONNX Model Zoo by incorporating additional models from the following categories. As we are rigorously validating the new models for accuracy, refer to the validated models below that have been successfully validated for accuracy: - Computer Vision - Natural Language Processing (NLP) - Generative AI - Graph Machine Learning These models are sourced from prominent open-source repositories such as timm, torchvision, torch_hub, and transformers, and exported into the ONNX format using the open-source TurnkeyML toolchain. Validated Models Vision Image Classification Object Detection & Image Segmentation Body, Face & Gesture Analysis Image Manipulation Language Machine Comprehension Machine Translation Language Modelling Other Visual Question Answering & Dialog Speech & Audio Processing Other interesting models Read the Usage section below for more details on the file formats in the ONNX Model Zoo (.onnx, .pb, .npz), downloading multiple ONNX models through Git LFS command line, and starter Python code for validating your ONNX model using test data. INT8 models are generated by Intel® Neural Compressor. Intel® Neural Compressor is an open-source Python library which supports automatic accuracy-driven tuning strategies to help user quickly find out the best quantized model. It implements dynamic and static quantization for ONNX models and can represent quantized ONNX models with operator oriented as well as tensor oriented (QDQ) ways. Users can use web-based UI service or python code to
Top issues
#156ArcFace model query45 comments · 2019-05-03#170BidAF weird shapes around Compress operator13 comments · 2019-06-11#523Why we test models with CPU execution provider only in CI?12 comments · 2022-05-07#230onnxruntime.InferenceSession silent error when ran in cgi python script12 comments · 2019-10-31#390unable to replicate yolov4 onnx conversion example10 comments · 2020-10-21#242[ONNXRuntimeError] Arcface model fails during ONNX runtime session run11 comments · 2019-11-21#234Help tiny yolo v211 comments · 2019-11-05#479The yolo series model does not get weights information via onnx.model.graph.input7 comments · 2021-10-27
Discussions
#670Yolov5 Why do the following models use the same method but have different results? Is it a C # issue?0 comments · 2024-08-06#653how to do the inceptionv2.9 preprocess question0 comments · 2024-01-29#645Resnet50 is no longer 'available' through the hub.load() since the model hub revamp0 comments · 2023-12-26#623How do I download the .onnx model in this repo?0 comments · 2023-09-12#596Inferencing with NVIDIA Triton Inference Server0 comments · 2023-03-22#527Labels for models?0 comments · 2022-05-18#465ONNX.file2 comments · 2021-09-02