All Projects → onnx → optimizer

onnx / optimizer

Licence: Apache-2.0 license
Actively maintained ONNX Optimizer

Programming Languages

python
139335 projects - #7 most used programming language
C++
36643 projects - #6 most used programming language
CMake
9771 projects

Projects that are alternatives of or similar to optimizer

Netron
Visualizer for neural network, deep learning, and machine learning models
Stars: ✭ 17,193 (+4389.03%)
Mutual labels:  onnx
onnx-registry
Intelligent Component Registry web service for managing and using snn, dnn, and ml models, which is stored in onnx format.
Stars: ✭ 21 (-94.52%)
Mutual labels:  onnx
emnist dl2prod
JuPyter Notebooks and Python Package for Deep Learning Model Exploration, Translation and Deployment
Stars: ✭ 31 (-91.91%)
Mutual labels:  onnx
Libonnx
A lightweight, portable pure C99 onnx inference engine for embedded devices with hardware acceleration support.
Stars: ✭ 217 (-43.34%)
Mutual labels:  onnx
algobot
Cryptocurrency trading bot with a graphical user interface with support for simulations, backtests, optimizations, and running live bots.
Stars: ✭ 776 (+102.61%)
Mutual labels:  optimizations
fastT5
⚡ boost inference speed of T5 models by 5x & reduce the model size by 3x.
Stars: ✭ 421 (+9.92%)
Mutual labels:  onnx
Php Opencv
php wrapper for opencv
Stars: ✭ 194 (-49.35%)
Mutual labels:  onnx
Tengine-Convert-Tools
Tengine Convert Tool supports converting multi framworks' models into tmfile that suitable for Tengine-Lite AI framework.
Stars: ✭ 89 (-76.76%)
Mutual labels:  onnx
Deepstream Project
This is a highly separated deployment project based on Deepstream , including the full range of Yolo and continuously expanding deployment projects such as Ocr.
Stars: ✭ 120 (-68.67%)
Mutual labels:  onnx
epic-awesome-gamer
🍷 Gracefully claim weekly free games and monthly content from Epic Store.
Stars: ✭ 600 (+56.66%)
Mutual labels:  onnx
Openseeface
Robust realtime face and facial landmark tracking on CPU with Unity integration
Stars: ✭ 216 (-43.6%)
Mutual labels:  onnx
open route service
An encapsulation made around openrouteservice API for Dart and Flutter projects. Made for easy generation of Routes and Directions on Maps, Isochrones, Time-Distance Matrix, Pelias Geocoding, POIs, Elevation and routing Optimizations using their amazing API.
Stars: ✭ 20 (-94.78%)
Mutual labels:  optimizations
amdovx-modules
AMD OpenVX modules: such as, neural network inference, 360 video stitching, etc.
Stars: ✭ 106 (-72.32%)
Mutual labels:  onnx
Sklearn Onnx
Convert scikit-learn models and pipelines to ONNX
Stars: ✭ 206 (-46.21%)
Mutual labels:  onnx
derivative-works
Derivative-Works is an experiment in using machine learning to create image collages.
Stars: ✭ 29 (-92.43%)
Mutual labels:  optimizations
Volksdep
volksdep is an open-source toolbox for deploying and accelerating PyTorch, ONNX and TensorFlow models with TensorRT.
Stars: ✭ 195 (-49.09%)
Mutual labels:  onnx
pytorch YOLO OpenVINO demo
No description or website provided.
Stars: ✭ 73 (-80.94%)
Mutual labels:  onnx
AnimeGANv3
Use AnimeGANv3 to make your own animation works, including turning photos or videos into anime.
Stars: ✭ 878 (+129.24%)
Mutual labels:  onnx
AgentOCR
一个多语言支持、易使用的 OCR 项目。An easy-to-use OCR project with multilingual support.
Stars: ✭ 98 (-74.41%)
Mutual labels:  onnx
Static-Sort
A simple C++ header-only library for fastest sorting of small arrays. Generates sorting networks on compile time via templates.
Stars: ✭ 30 (-92.17%)
Mutual labels:  optimizations

ONNX Optimizer

PyPI version PyPI license PRs Welcome

Introduction

ONNX provides a C++ library for performing arbitrary optimizations on ONNX models, as well as a growing list of prepackaged optimization passes.

The primary motivation is to share work between the many ONNX backend implementations. Not all possible optimizations can be directly implemented on ONNX graphs - some will need additional backend-specific information - but many can, and our aim is to provide all such passes along with ONNX so that they can be re-used with a single function call.

You may be interested in invoking the provided passes, or in implementing new ones (or both).

Installation

You can install onnxoptimizer from PyPI:

pip3 install onnxoptimizer

Note that you may need to upgrade your pip first if you have trouble:

pip3 install -U pip

If you want to build from source:

git clone --recursive https://github.com/onnx/optimizer onnxoptimizer
cd onnxoptimizer
pip3 install -e .

Note that you need to install protobuf before building from source.

Roadmap

  • Command-line API (e.g. python3 -m onnxoptimizer model.onnx output.onnx)
  • More built-in pass
  • Separate graph rewriting and constant folding (or a pure graph rewriting mode, see issue #9 for the details)

Relevant tools

  • onnx-simplifier: A handy and popular tool based on onnxoptimizer

  • convertmodel.com: onnx optimizer compiled as WebAssembly so that it can be used out-of-the-box

Code of Conduct

ONNX Open Source Code of Conduct

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].