onnx/tutorials
onnx/tutorials has 3,723 GitHub stars and 654 forks. GitHot measured -1 stars in 24 hours and -1 in 7 days. Last checked 2026-11-12 10:58 UTC. Last push 2026-06-21.
Tutorials for creating and using ONNX models
측정된 스타 증가
- in 24h
- -1
- in 7 days
- -1
- in 15 days
- 업데이트 지연
- in 1 month
- 업데이트 지연
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalONNX Tutorials
Open Neural Network Exchange (ONNX) is an open standard format for representing machine learning models. ONNX is supported by a community of partners who have implemented it in many frameworks and tools.
Getting ONNX models
- Pre-trained models (validated): Many pre-trained ONNX models are provided for common scenarios in the ONNX Model Zoo
- Pre-trained models (non-validated): Many pre-trained ONNX models are provided for common scenarios in the ONNX Model Zoo.
- Services: Customized ONNX models are generated for your data by cloud based services (see below)
- Convert models from various frameworks (see below)
Services
Below is a list of services that can output ONNX models customized for your data.
Converting to ONNX format
| Framework / Tool | Installation | Tutorial |
|---|---|---|
| Caffe | apple/coremltools and onnx/onnxmltools | Example |
| Caffe2 | part of caffe2 package | Example |
| Chainer | chainer/onnx-chainer | Example |
| Cognitive Toolkit (CNTK) | built-in | Example |
| CoreML (Apple) | onnx/onnxmltools | Example |
| JAX | enpasos/jax2onnx / pip install jax2onnx (PyPI) |
Getting Started |
| Keras | onnx/tensorflow-onnx | Example |
| LibSVM | onnx/onnxmltools | Example |
| LightGBM | onnx/onnxmltools | Example |
| MATLAB | Deep Learning Toolbox | Example |
| ML.NET | built-in | Example |
| MXNet (Apache) | part of mxnet package docs github | Example |
| PyTorch | part of pytorch package | Example1, Example2, export for Windows ML, Extending support |
| SciKit-Learn | onnx/sklearn-onnx | Example |
| SINGA (Apache) - Github (experimental) | built-in | Example |
| TensorFlow | onnx/tensorflow-onnx | Examples |
Scoring ONNX Models
Once you have an ONNX model, it can be scored with a variety of tools.
| Framework / Tool | Installation | Tutorial |
|---|---|---|
| Caffe2 | Caffe2 | Example |
| Cognitive Toolkit (CNTK) | built-in | Example |
| CoreML (Apple) | onnx/onnx-coreml | Example |
| MATLAB | Deep Learning Toolbox Converter | Documentation and Examples |
| Menoh | Github Packages or from Nuget | Example |
| ML.NET | Microsoft.ML Nuget Package | Example |
| MXNet (Apache) - Github | MXNet | API Example |
| ONNX Runtime | See onnxruntime.ai | Documentation |
| SINGA (Apache) - Github [experimental] | built-in | Example |
| Tensorflow | onnx-tensorflow | Example |
| TensorRT | onnx-tensorrt | Example |
| Windows ML | Pre-installed on Windows 10 | API Tutorials - C++ Desktop App, C# UWP App Examples |
| Vespa.ai | Vespa Getting Started Guide | Real Time ONNX Inference Distributed Real Time ONNX Inference for Search and Passage Ranking |
End-to-End Tutorials
Tutorials demonstrating how to use ONNX in practice for varied scenarios across frameworks, platforms, and device types
General
- AI-Serving
- AWS Lambda
- Cortex
- MXNet
- ONNX Runtime
Mobile
- Converting SuperResolution model from PyTorch to Caffe2 with ONNX and deploying on mobile device
- Transferring SqueezeNet from PyTorch to Caffe2 with ONNX and to Android app
- Converting Style Transfer model from PyTorch to CoreML with ONNX and deploying to an iPhone
- Deploy ONNX Runtime on Mobile/Edge devices
ONNX Quantization
ONNX as an intermediary format
ONNX Custom Operators
Visualizing ONNX Models
- Netdrawer: Visualizing ONNX models
- Netron: Viewer for ONNX models
- Zetane: 3D visualizer for ONNX models and internal tensors
Other ONNX tools
- Verifying correctness and comparing performance
- Example of operating on ONNX protobuf
- Float16 <-> Float32 converter
- Version conversion
Application of ONNX
Contributing
We welcome improvements to the convertor tools and contributions of new ONNX bindings. Check out contributor guide to get started.
Use ONNX for something cool? Send the tutorial to this repo by submitting a PR.
관련 프로젝트 살펴보기
sindresorhus/awesome
😎 온갖 흥미로운 주제에 관한 Awesome 목록 [참고: 기존 풀 리퀘스트를 따라잡을 여유가 생길 때까지 풀 리퀘스트가 일시적으로 비활성화되어 있습니다]
535,949 스타EbookFoundation/free-programming-books
:books: 무료로 이용할 수 있는 프로그래밍 도서
401,494 스타nilbuild/developer-roadmap
개발자의 커리어 성장을 돕는 인터랙티브 로드맵, 가이드 및 기타 교육 콘텐츠.
371,913 스타vinta/awesome-python
“Python으로 X를 하고 싶은데, 어떤 도구를 써야 할까?”에 답하는 결정판 목록.
334,328 스타