simple-onnx-processing-tools


Namesimple-onnx-processing-tools JSON
Version 1.1.32 PyPI version JSON
download
home_pagehttps://github.com/PINTO0309/simple-onnx-processing-tools
SummaryA set of simple tools for splitting, merging, OP deletion, size compression, rewriting attributes and constants, OP generation, change opset, change to the specified input order, addition of OP, RGB to BGR conversion, change batch size, batch rename of OP, and JSON convertion for ONNX models.
upload_time2024-04-22 14:24:28
maintainerNone
docs_urlNone
authorKatsuya Hyodo
requires_python>=3.6
licenseMIT License
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # simple-onnx-processing-tools
A set of simple tools for splitting, merging, OP deletion, size compression, rewriting attributes and constants, OP generation, change opset, change to the specified input order, addition of OP, RGB to BGR conversion, change batch size, batch rename of OP, and JSON convertion for ONNX models.

[![Downloads](https://static.pepy.tech/personalized-badge/simple-onnx-processing-tools?period=total&units=none&left_color=grey&right_color=brightgreen&left_text=Downloads)](https://pepy.tech/project/simple-onnx-processing-tools) ![GitHub](https://img.shields.io/github/license/PINTO0309/simple-onnx-processing-tools?color=2BAF2B) [![PyPI](https://img.shields.io/pypi/v/simple-onnx-processing-tools?color=2BAF2B)](https://pypi.org/project/simple-onnx-processing-tools/)

<p align="center">
  <img src="https://user-images.githubusercontent.com/33194443/162783149-3b0d6e25-44da-4bc1-89fb-beae8aeae31d.png" />
</p>

## 1. Tools
### HostPC
```bash
# (1) Minimum configuration installation with no dependent packages installed
$ pip install -U simple-onnx-processing-tools \
&& pip install -U onnx \
&& python3 -m pip install -U onnx_graphsurgeon --index-url https://pypi.ngc.nvidia.com

or

# (2) When installing all dependent packages such as onnx-simplifier, onnxruntime, numpy, etc...
$ pip install -U simple-onnx-processing-tools[full] \
&& pip install -U onnx \
&& python3 -m pip install -U onnx_graphsurgeon --index-url https://pypi.ngc.nvidia.com
```
### Docker
```bash
$ docker run --rm -it \
-v `pwd`:/workdir \
-w /workdir \
ghcr.io/pinto0309/simple-onnx-processing-tools:1.1.31
```

|No.|Tool Name|Tags|Summary|
|:-:|:-:|:-:|:-|
|1|**[snc4onnx](https://github.com/PINTO0309/snc4onnx)**<br>![snc](https://user-images.githubusercontent.com/33194443/170050379-72e2819a-8cc4-40c2-9cc9-d4ca50b83866.png)|[![PyPI](https://img.shields.io/pypi/v/snc4onnx?color=2BAF2B)](https://pypi.org/project/snc4onnx/)[![snc](https://img.shields.io/github/stars/PINTO0309/snc4onnx.svg?style=social)](https://github.com/PINTO0309/snc4onnx)|Simple tool to combine(merge) onnx models. **S**imple **N**etwork **C**ombine Tool for **ONNX**.|
|2|**[sne4onnx](https://github.com/PINTO0309/sne4onnx)**<br>![image](https://user-images.githubusercontent.com/33194443/170036340-dd098dd2-4955-48b6-a0dd-6b59c3598018.png)|[![PyPI](https://img.shields.io/pypi/v/sne4onnx?color=2BAF2B)](https://pypi.org/project/sne4onnx/)[![sne](https://img.shields.io/github/stars/PINTO0309/sne4onnx.svg?style=social)](https://github.com/PINTO0309/sne4onnx)|A very simple tool for situations where optimization with onnx-simplifier would exceed the Protocol Buffers upper file size limit of 2GB, or simply to separate onnx files to any size you want. **S**imple **N**etwork **E**xtraction for **ONNX**.|
|3|**[snd4onnx](https://github.com/PINTO0309/snd4onnx)**<br>![snd](https://user-images.githubusercontent.com/33194443/170049884-63abc243-0493-400a-9d95-612a800fbfce.png)|[![PyPI](https://img.shields.io/pypi/v/snd4onnx?color=2BAF2B)](https://pypi.org/project/snd4onnx/)[![snd](https://img.shields.io/github/stars/PINTO0309/snd4onnx.svg?style=social)](https://github.com/PINTO0309/snd4onnx)|Simple node deletion tool for onnx. **S**imple **N**ode **D**eletion for **ONNX**.|
|4|**[scs4onnx](https://github.com/PINTO0309/scs4onnx)**<br>![scs](https://user-images.githubusercontent.com/33194443/170051562-167c555d-251e-4672-b7c8-27106b08b310.png)|[![PyPI](https://img.shields.io/pypi/v/scs4onnx?color=2BAF2B)](https://pypi.org/project/scs4onnx/)[![scs](https://img.shields.io/github/stars/PINTO0309/scs4onnx.svg?style=social)](https://github.com/PINTO0309/scs4onnx)|A very simple tool that compresses the overall size of the ONNX model by aggregating duplicate constant values as much as possible. **S**imple **C**onstant value **S**hrink for **ONNX**.|
|5|**[sog4onnx](https://github.com/PINTO0309/sog4onnx)**<br>![sog](https://user-images.githubusercontent.com/33194443/170052975-a41eb326-aa96-45e5-9e82-6f15b7d3a2df.png)|[![PyPI](https://img.shields.io/pypi/v/sog4onnx?color=2BAF2B)](https://pypi.org/project/sog4onnx/)[![sog](https://img.shields.io/github/stars/PINTO0309/sog4onnx.svg?style=social)](https://github.com/PINTO0309/sog4onnx)|Simple ONNX operation generator. **S**imple **O**peration **G**enerator for **ONNX**.|
|6|**[sam4onnx](https://github.com/PINTO0309/sam4onnx)**<br>![sam](https://user-images.githubusercontent.com/33194443/170053658-a73ed77d-b7e4-475e-badf-e9ad933fccfe.png)|[![PyPI](https://img.shields.io/pypi/v/sam4onnx?color=2BAF2B)](https://pypi.org/project/sam4onnx/)[![sam](https://img.shields.io/github/stars/PINTO0309/sam4onnx.svg?style=social)](https://github.com/PINTO0309/sam4onnx)|A very simple tool to rewrite parameters such as attributes and constants for OPs in ONNX models. **S**imple **A**ttribute and Constant **M**odifier for **ONNX**.|
|7|**[soc4onnx](https://github.com/PINTO0309/soc4onnx)**<br>![soc](https://user-images.githubusercontent.com/33194443/170055270-71c108a8-53e5-4ab0-9ca7-2ca2b1627ad4.png)|[![PyPI](https://img.shields.io/pypi/v/soc4onnx?color=2BAF2B)](https://pypi.org/project/soc4onnx/)[![sam](https://img.shields.io/github/stars/PINTO0309/soc4onnx.svg?style=social)](https://github.com/PINTO0309/soc4onnx)|A very simple tool that forces a change in the opset of an ONNX graph. **S**imple **O**pset **C**hanger for **ONNX**.|
|8|**[scc4onnx](https://github.com/PINTO0309/scc4onnx)**<br>![scc](https://user-images.githubusercontent.com/33194443/170063890-a79c057e-ce61-4b21-be25-82f58d06f460.png)|[![PyPI](https://img.shields.io/pypi/v/scc4onnx?color=2BAF2B)](https://pypi.org/project/scc4onnx/)[![sam](https://img.shields.io/github/stars/PINTO0309/scc4onnx.svg?style=social)](https://github.com/PINTO0309/scc4onnx)|Very simple NCHW and NHWC conversion tool for ONNX. Change to the specified input order for each and every input OP. Also, change the channel order of RGB and BGR. **S**imple **C**hannel **C**onverter for **ONNX**.|
|9|**[sna4onnx](https://github.com/PINTO0309/sna4onnx)**<br>![sna](https://user-images.githubusercontent.com/33194443/170064699-39b1645e-d1b0-4751-8399-e47eca2b28ae.png)|[![PyPI](https://img.shields.io/pypi/v/sna4onnx?color=2BAF2B)](https://pypi.org/project/sna4onnx/)[![sog](https://img.shields.io/github/stars/PINTO0309/sna4onnx.svg?style=social)](https://github.com/PINTO0309/sna4onnx)|Simple node addition tool for onnx. **S**imple **N**ode **A**ddition for **ONNX**.|
|10|**[sbi4onnx](https://github.com/PINTO0309/sbi4onnx)**<br>![sbi](https://user-images.githubusercontent.com/33194443/170146414-5a4b0b8a-ac5e-49e7-9e17-703c04f1b746.png)|[![PyPI](https://img.shields.io/pypi/v/sbi4onnx?color=2BAF2B)](https://pypi.org/project/sbi4onnx/)[![sbi4onnx](https://img.shields.io/github/stars/PINTO0309/sbi4onnx.svg?style=social)](https://github.com/PINTO0309/sbi4onnx)|A very simple script that only initializes the batch size of ONNX. **S**imple **B**atchsize **I**nitialization for **ONNX**.|
|11|**[sor4onnx](https://github.com/PINTO0309/sor4onnx)**<br>![sor](https://user-images.githubusercontent.com/33194443/170146570-681a4e72-35e2-4625-96ae-dc84ef2ff4c9.png)|[![PyPI](https://img.shields.io/pypi/v/sor4onnx?color=2BAF2B)](https://pypi.org/project/sor4onnx/)[![sor4onnx](https://img.shields.io/github/stars/PINTO0309/sor4onnx.svg?style=social)](https://github.com/PINTO0309/sor4onnx)|**S**imple **O**P **R**enamer for **ONNX**.|
|12|**[soa4onnx](https://github.com/PINTO0309/soa4onnx)**<br>![soa](https://user-images.githubusercontent.com/33194443/170147250-d49ae8d1-0ad2-4c7c-8578-70d75c3463a7.png)|[![PyPI](https://img.shields.io/pypi/v/soa4onnx?color=2BAF2B)](https://pypi.org/project/soa4onnx/)[![soa4onnx](https://img.shields.io/github/stars/PINTO0309/soa4onnx.svg?style=social)](https://github.com/PINTO0309/soa4onnx)|**S**imple model **O**utput OP **A**dditional tools for **ONNX**.|
|13|**[sod4onnx](https://github.com/PINTO0309/sod4onnx)**<br>![sod](https://user-images.githubusercontent.com/33194443/190426481-e0f3e187-efe0-4bc7-9970-0fcaec916b5d.png)|[![PyPI](https://img.shields.io/pypi/v/sod4onnx?color=2BAF2B)](https://pypi.org/project/sod4onnx/)[![sod4onnx](https://img.shields.io/github/stars/PINTO0309/sod4onnx.svg?style=social)](https://github.com/PINTO0309/sod4onnx)|**S**imple model **O**utput OP **D**eletion tools for **ONNX**.|
|14|**[ssi4onnx](https://github.com/PINTO0309/ssi4onnx)**<br>![ssi](https://user-images.githubusercontent.com/33194443/170065874-74cc3c91-e0d6-46fb-9084-925d3d503e05.png)|[![PyPI](https://img.shields.io/pypi/v/ssi4onnx?color=2BAF2B)](https://pypi.org/project/ssi4onnx/)[![ssi4onnx](https://img.shields.io/github/stars/PINTO0309/ssi4onnx.svg?style=social)](https://github.com/PINTO0309/ssi4onnx)|**S**imple **S**hape **I**nference tool for **ONNX**.|
|15|**[sit4onnx](https://github.com/PINTO0309/sit4onnx)**<br>![sit](https://user-images.githubusercontent.com/33194443/170147823-3f4c34c5-b8f1-4b13-9c4a-6f186b59a024.png)|[![PyPI](https://img.shields.io/pypi/v/sit4onnx?color=2BAF2B)](https://pypi.org/project/sit4onnx/)[![sit4onnx](https://img.shields.io/github/stars/PINTO0309/sit4onnx.svg?style=social)](https://github.com/PINTO0309/sit4onnx)|Tools for simple inference testing using TensorRT, CUDA and OpenVINO CPU/GPU and CPU providers. **S**imple **I**nference **T**est for **ONNX**.|
|16|**[onnx2json](https://github.com/PINTO0309/onnx2json)**<br>![onnx2json](https://user-images.githubusercontent.com/33194443/170148134-56194fe0-c871-4592-affe-76b2f45bc5c1.png)|[![PyPI](https://img.shields.io/pypi/v/onnx2json?color=2BAF2B)](https://pypi.org/project/onnx2json/)[![onnx2json](https://img.shields.io/github/stars/PINTO0309/onnx2json.svg?style=social)](https://github.com/PINTO0309/onnx2json)|Exports the ONNX file to a JSON file.|
|17|**[json2onnx](https://github.com/PINTO0309/json2onnx)**<br>![json2onnx](https://user-images.githubusercontent.com/33194443/170148289-aae9591d-c7b7-4ea9-acfd-a790a7b50243.png)|[![PyPI](https://img.shields.io/pypi/v/json2onnx?color=2BAF2B)](https://pypi.org/project/json2onnx/)[![sog](https://img.shields.io/github/stars/PINTO0309/json2onnx.svg?style=social)](https://github.com/PINTO0309/json2onnx)|Converts a JSON file to an ONNX file.|
|18|**[sed4onnx](https://github.com/PINTO0309/sed4onnx)**<br>![sed](https://user-images.githubusercontent.com/33194443/170149753-3a586319-bded-4385-996a-272a4bb1dac1.png)|[![PyPI](https://img.shields.io/pypi/v/sed4onnx?color=2BAF2B)](https://pypi.org/project/sed4onnx/)[![sog](https://img.shields.io/github/stars/PINTO0309/sed4onnx.svg?style=social)](https://github.com/PINTO0309/sed4onnx)|Simple ONNX constant encoder/decoder. Since the constant values in the JSON files generated by onnx2json are Base64-encoded values, ASCII <-> Base64 conversion is required when rewriting JSON constant values.|
|19|**[ssc4onnx](https://github.com/PINTO0309/ssc4onnx)**<br>![ssc](https://user-images.githubusercontent.com/33194443/170720385-d8fcde6b-f8c0-4a8e-94eb-230996e0f5d2.png)|[![PyPI](https://img.shields.io/pypi/v/ssc4onnx?color=2BAF2B)](https://pypi.org/project/ssc4onnx/)[![sog](https://img.shields.io/github/stars/PINTO0309/ssc4onnx.svg?style=social)](https://github.com/PINTO0309/ssc4onnx)|Checker with simple ONNX model structure. **S**imple **S**tructure **C**hecker for **ONNX**. Analyzes and displays the structure of huge size models that cannot be displayed by Netron.|
|20|**[sio4onnx](https://github.com/PINTO0309/sio4onnx)**<br>![image](https://user-images.githubusercontent.com/33194443/178524216-dfd08895-1cf2-4e2e-90ff-45f6c387a110.png)|[![PyPI](https://img.shields.io/pypi/v/sio4onnx?color=2BAF2B)](https://pypi.org/project/sio4onnx/)[![sio](https://img.shields.io/github/stars/PINTO0309/sio4onnx.svg?style=social)](https://github.com/PINTO0309/sio4onnx)|Simple tool to change the INPUT and OUTPUT shape of ONNX.|
|21|**[svs4onnx](https://github.com/PINTO0309/svs4onnx)**<br>![image](https://user-images.githubusercontent.com/33194443/190839305-a3ac5284-5e14-46cf-9898-0c0cf647f6d9.png)|[![PyPI](https://img.shields.io/pypi/v/svs4onnx?color=2BAF2B)](https://pypi.org/project/svs4onnx/)[![sio](https://img.shields.io/github/stars/PINTO0309/svs4onnx.svg?style=social)](https://github.com/PINTO0309/svs4onnx)|A very simple tool to swap connections between output and input variables in an ONNX graph. **S**imple **V**ariable **S**witch for **ONNX**.|
|22|**[onnx2tf](https://github.com/PINTO0309/onnx2tf)**<br>![image](https://user-images.githubusercontent.com/33194443/195119470-8dfe0bb8-d214-40ab-b7f7-9cd8025c1e18.png)|[![PyPI](https://img.shields.io/pypi/v/onnx2tf?color=2BAF2B)](https://pypi.org/project/onnx2tf/)[![onnx2tf](https://img.shields.io/github/stars/PINTO0309/onnx2tf.svg?style=social)](https://github.com/PINTO0309/onnx2tf)|Self-Created Tools to convert ONNX files (NCHW) to TensorFlow format (NHWC). The purpose of this tool is to solve the massive Transpose extrapolation problem in onnx-tensorflow (onnx-tf).|
|23|**[sng4onnx](https://github.com/PINTO0309/sng4onnx)**<br>![image](https://user-images.githubusercontent.com/33194443/195638488-ee468a8f-7eae-413b-bce7-fd386872317f.png)|[![PyPI](https://img.shields.io/pypi/v/sng4onnx?color=2BAF2B)](https://pypi.org/project/sng4onnx/)[![sng4onnx](https://img.shields.io/github/stars/PINTO0309/sng4onnx.svg?style=social)](https://github.com/PINTO0309/sng4onnx)|A simple tool that automatically generates and assigns an OP name to each OP in an old format ONNX file.|
|24|**[sde4onnx](https://github.com/PINTO0309/sde4onnx)**<br>![sde4onnx_icon](https://user-images.githubusercontent.com/33194443/195972514-de06bcba-3fc7-43be-a6e9-0dfb77fe9154.png)|[![PyPI](https://img.shields.io/pypi/v/sde4onnx?color=2BAF2B)](https://pypi.org/project/sde4onnx/)[![sde4onnx](https://img.shields.io/github/stars/PINTO0309/sde4onnx.svg?style=social)](https://github.com/PINTO0309/sde4onnx)|Simple doc_string eraser for ONNX.|
|25|**[spo4onnx](https://github.com/PINTO0309/spo4onnx)**<br>![spo4onnx_icon](https://github.com/PINTO0309/simple-onnx-processing-tools/assets/33194443/a69488e4-8066-447f-8846-b72ba69c165e)|[![PyPI](https://img.shields.io/pypi/v/spo4onnx?color=2BAF2B)](https://pypi.org/project/spo4onnx/)[![spo4onnx](https://img.shields.io/github/stars/PINTO0309/spo4onnx.svg?style=social)](https://github.com/PINTO0309/spo4onnx)|Simple tool for partial optimization of ONNX. Further optimize some models that cannot be optimized with onnx-optimizer and onnxsim by several tens of percent. In particular, models containing Einsum and OneHot.|
|26|**[components_of_onnx](https://github.com/PINTO0309/components_of_onnx)**<br>![components_of_onnx](https://user-images.githubusercontent.com/33194443/170149987-6184980f-e4cf-4b1b-b49f-92874c7941a5.png)|[WIP][![PyPI](https://img.shields.io/pypi/v/components_of_onnx?color=2BAF2B)](https://pypi.org/project/components_of_onnx/)[![sog](https://img.shields.io/github/stars/PINTO0309/components_of_onnx.svg?style=social)](https://github.com/PINTO0309/components_of_onnx)|ONNX parts yard. The various operations described in [Operator Schemas](https://github.com/onnx/onnx/blob/main/docs/Operators.md) are converted in advance into OP stand-alone ONNX files.|

## 2. Very useful tools

|No.|Tool Name|Author|Tags|Summary|
|:-:|:-:|:-|:-:|:-|
|1|**[OnnxGraphQt](https://github.com/fateshelled/OnnxGraphQt)**<br>![onnx_graph_qt](https://user-images.githubusercontent.com/33194443/170164510-b53b14d0-3492-4952-9ed9-1bbfb52c12e8.png)|**[fateshelled](https://github.com/fateshelled)**|[![OnnxGraphQt](https://img.shields.io/github/stars/fateshelled/OnnxGraphQt.svg?style=social)](https://github.com/fateshelled/OnnxGraphQt)|ONNX model visualizer. Model structure can be edited on the visualization tool.![image](https://user-images.githubusercontent.com/33194443/173706201-c2830683-d434-4fb1-97ab-839a1aac17d0.png)![image](https://user-images.githubusercontent.com/33194443/166604396-1fe3a015-9b3c-4a49-8bc4-7438aedbbab6.png)|
|2|**[onnx-modifier](https://github.com/ZhangGe6/onnx-modifier)**<br>![image](https://user-images.githubusercontent.com/33194443/205486515-446774f7-2048-4035-b22c-4d0e97ad7884.png)|**[ZhangGe6](https://github.com/ZhangGe6)**|[![onnx-modifier](https://img.shields.io/github/stars/ZhangGe6/onnx-modifier.svg?style=social)](https://github.com/ZhangGe6/onnx-modifier)|To edit an ONNX model, One common way is to visualize the model graph, and edit it using ONNX Python API.![image](https://user-images.githubusercontent.com/33194443/205486639-be8c952d-20ab-4f28-b1bc-59ffc0ca008a.png)|
|3|**[onnx-simplifier](https://github.com/daquexian/onnx-simplifier)**|**[daquexian](https://github.com/daquexian)**|[![PyPI](https://img.shields.io/pypi/v/onnx-simplifier?color=2BAF2B)](https://pypi.org/project/onnx-simplifier/)[![onnxsim](https://img.shields.io/github/stars/daquexian/onnx-simplifier.svg?style=social)](https://github.com/daquexian/onnx-simplifier)|ONNX Simplifier is presented to simplify the ONNX model. It infers the whole computation graph and then replaces the redundant operators with their constant outputs.|
|4|**[Sparsify](https://github.com/neuralmagic/sparsify)**<br>![image](https://user-images.githubusercontent.com/33194443/176984385-8255401c-a569-4b10-9760-8190c4438001.png)|**[neuralmagic](https://github.com/neuralmagic)**|[![PyPI](https://img.shields.io/pypi/v/sparsify?color=2BAF2B)](https://pypi.org/project/sparsify/)[![sparsify](https://img.shields.io/github/stars/neuralmagic/sparsify.svg?style=social)](https://github.com/neuralmagic/sparsify)|Easy-to-use UI for automatically sparsifying neural networks and creating sparsification recipes for better inference performance and a smaller footprint.![image](https://user-images.githubusercontent.com/33194443/176984241-5fa88e7d-3de0-4e8f-8235-e3bba34ae860.png)|
|5|**[DeepSparse Engine](https://github.com/neuralmagic/deepsparse)**<br>![image](https://user-images.githubusercontent.com/33194443/176984357-34af44e5-3290-4b2f-8961-092da2ca2f75.png)|**[neuralmagic](https://github.com/neuralmagic)**|[![PyPI](https://img.shields.io/pypi/v/deepsparse?color=2BAF2B)](https://pypi.org/project/deepsparse/)[![deepsparse](https://img.shields.io/github/stars/neuralmagic/deepsparse.svg?style=social)](https://github.com/neuralmagic/deepsparse)|Sparsity-aware neural network inference engine for GPU-class performance on CPUs.![image](https://user-images.githubusercontent.com/33194443/176984416-fd27ea7a-f811-44bb-a2b5-55969c9de56f.png)![image](https://user-images.githubusercontent.com/33194443/176984421-6241a8ec-2fbe-44f5-a847-2db1fd60324e.png)|
|6|**[Sparsebit](https://github.com/megvii-research/Sparsebit)**|**[megvii-research](https://github.com/megvii-research/Sparsebit)**|[![PyPI](https://img.shields.io/pypi/v/Sparsebit?color=2BAF2B)](https://pypi.org/project/Sparsebit/)[![Sparsebit](https://img.shields.io/github/stars/megvii-research/Sparsebit.svg?style=social)](https://github.com/megvii-research/deepsparse)|Sparsebit is a toolkit with pruning and quantization capabilities. It is designed to help researchers compress and accelerate neural network models by modifying only a few codes in existing pytorch project.|
|7|**[onnion](https://github.com/Idein/onnion)**|**[Idein](https://github.com/Idein)**|[![PyPI](https://img.shields.io/pypi/v/onnion?color=2BAF2B)](https://pypi.org/project/onnion/)[![onnion](https://img.shields.io/github/stars/Idein/onnion.svg?style=social)](https://github.com/Idein/onnion)|onnion project. compile onnx to python. runtime depends only numpy.|


### 2-1. OnnxGraphQt - [WIP] Startup Method Sample
```bash
git clone https://github.com/fateshelled/OnnxGraphQt
cd OnnxGraphQt
# build docker image
./docker/build.bash
# run
./docker/run.bash
```

## 3. Acknowledgments
1. https://github.com/onnx/onnx/blob/main/docs/PythonAPIOverview.md
2. https://docs.nvidia.com/deeplearning/tensorrt/onnx-graphsurgeon/docs/index.html
3. https://github.com/NVIDIA/TensorRT/tree/main/tools/onnx-graphsurgeon
4. https://github.com/onnx/onnx/blob/main/docs/Operators.md

## 4. References
1. https://github.com/PINTO0309/PINTO_model_zoo
2. https://github.com/PINTO0309/PINTO_model_zoo/tree/main/115_MoveNet/PINTO_Special/barracuda_gathernd_split

    https://user-images.githubusercontent.com/33194443/192281791-cf469dfd-f29a-4301-bd39-e96dd868dad9.mp4


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/PINTO0309/simple-onnx-processing-tools",
    "name": "simple-onnx-processing-tools",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": "Katsuya Hyodo",
    "author_email": "rmsdh122@yahoo.co.jp",
    "download_url": "https://files.pythonhosted.org/packages/de/c9/272e2ec4f8c3764a629a7a0fe2376d5d7727c081221e335ab96906f7a9ac/simple_onnx_processing_tools-1.1.32.tar.gz",
    "platform": "linux",
    "description": "# simple-onnx-processing-tools\nA set of simple tools for splitting, merging, OP deletion, size compression, rewriting attributes and constants, OP generation, change opset, change to the specified input order, addition of OP, RGB to BGR conversion, change batch size, batch rename of OP, and JSON convertion for ONNX models.\n\n[![Downloads](https://static.pepy.tech/personalized-badge/simple-onnx-processing-tools?period=total&units=none&left_color=grey&right_color=brightgreen&left_text=Downloads)](https://pepy.tech/project/simple-onnx-processing-tools) ![GitHub](https://img.shields.io/github/license/PINTO0309/simple-onnx-processing-tools?color=2BAF2B) [![PyPI](https://img.shields.io/pypi/v/simple-onnx-processing-tools?color=2BAF2B)](https://pypi.org/project/simple-onnx-processing-tools/)\n\n<p align=\"center\">\n  <img src=\"https://user-images.githubusercontent.com/33194443/162783149-3b0d6e25-44da-4bc1-89fb-beae8aeae31d.png\" />\n</p>\n\n## 1. Tools\n### HostPC\n```bash\n# (1) Minimum configuration installation with no dependent packages installed\n$ pip install -U simple-onnx-processing-tools \\\n&& pip install -U onnx \\\n&& python3 -m pip install -U onnx_graphsurgeon --index-url https://pypi.ngc.nvidia.com\n\nor\n\n# (2) When installing all dependent packages such as onnx-simplifier, onnxruntime, numpy, etc...\n$ pip install -U simple-onnx-processing-tools[full] \\\n&& pip install -U onnx \\\n&& python3 -m pip install -U onnx_graphsurgeon --index-url https://pypi.ngc.nvidia.com\n```\n### Docker\n```bash\n$ docker run --rm -it \\\n-v `pwd`:/workdir \\\n-w /workdir \\\nghcr.io/pinto0309/simple-onnx-processing-tools:1.1.31\n```\n\n|No.|Tool Name|Tags|Summary|\n|:-:|:-:|:-:|:-|\n|1|**[snc4onnx](https://github.com/PINTO0309/snc4onnx)**<br>![snc](https://user-images.githubusercontent.com/33194443/170050379-72e2819a-8cc4-40c2-9cc9-d4ca50b83866.png)|[![PyPI](https://img.shields.io/pypi/v/snc4onnx?color=2BAF2B)](https://pypi.org/project/snc4onnx/)[![snc](https://img.shields.io/github/stars/PINTO0309/snc4onnx.svg?style=social)](https://github.com/PINTO0309/snc4onnx)|Simple tool to combine(merge) onnx models. **S**imple **N**etwork **C**ombine Tool for **ONNX**.|\n|2|**[sne4onnx](https://github.com/PINTO0309/sne4onnx)**<br>![image](https://user-images.githubusercontent.com/33194443/170036340-dd098dd2-4955-48b6-a0dd-6b59c3598018.png)|[![PyPI](https://img.shields.io/pypi/v/sne4onnx?color=2BAF2B)](https://pypi.org/project/sne4onnx/)[![sne](https://img.shields.io/github/stars/PINTO0309/sne4onnx.svg?style=social)](https://github.com/PINTO0309/sne4onnx)|A very simple tool for situations where optimization with onnx-simplifier would exceed the Protocol Buffers upper file size limit of 2GB, or simply to separate onnx files to any size you want. **S**imple **N**etwork **E**xtraction for **ONNX**.|\n|3|**[snd4onnx](https://github.com/PINTO0309/snd4onnx)**<br>![snd](https://user-images.githubusercontent.com/33194443/170049884-63abc243-0493-400a-9d95-612a800fbfce.png)|[![PyPI](https://img.shields.io/pypi/v/snd4onnx?color=2BAF2B)](https://pypi.org/project/snd4onnx/)[![snd](https://img.shields.io/github/stars/PINTO0309/snd4onnx.svg?style=social)](https://github.com/PINTO0309/snd4onnx)|Simple node deletion tool for onnx. **S**imple **N**ode **D**eletion for **ONNX**.|\n|4|**[scs4onnx](https://github.com/PINTO0309/scs4onnx)**<br>![scs](https://user-images.githubusercontent.com/33194443/170051562-167c555d-251e-4672-b7c8-27106b08b310.png)|[![PyPI](https://img.shields.io/pypi/v/scs4onnx?color=2BAF2B)](https://pypi.org/project/scs4onnx/)[![scs](https://img.shields.io/github/stars/PINTO0309/scs4onnx.svg?style=social)](https://github.com/PINTO0309/scs4onnx)|A very simple tool that compresses the overall size of the ONNX model by aggregating duplicate constant values as much as possible. **S**imple **C**onstant value **S**hrink for **ONNX**.|\n|5|**[sog4onnx](https://github.com/PINTO0309/sog4onnx)**<br>![sog](https://user-images.githubusercontent.com/33194443/170052975-a41eb326-aa96-45e5-9e82-6f15b7d3a2df.png)|[![PyPI](https://img.shields.io/pypi/v/sog4onnx?color=2BAF2B)](https://pypi.org/project/sog4onnx/)[![sog](https://img.shields.io/github/stars/PINTO0309/sog4onnx.svg?style=social)](https://github.com/PINTO0309/sog4onnx)|Simple ONNX operation generator. **S**imple **O**peration **G**enerator for **ONNX**.|\n|6|**[sam4onnx](https://github.com/PINTO0309/sam4onnx)**<br>![sam](https://user-images.githubusercontent.com/33194443/170053658-a73ed77d-b7e4-475e-badf-e9ad933fccfe.png)|[![PyPI](https://img.shields.io/pypi/v/sam4onnx?color=2BAF2B)](https://pypi.org/project/sam4onnx/)[![sam](https://img.shields.io/github/stars/PINTO0309/sam4onnx.svg?style=social)](https://github.com/PINTO0309/sam4onnx)|A very simple tool to rewrite parameters such as attributes and constants for OPs in ONNX models. **S**imple **A**ttribute and Constant **M**odifier for **ONNX**.|\n|7|**[soc4onnx](https://github.com/PINTO0309/soc4onnx)**<br>![soc](https://user-images.githubusercontent.com/33194443/170055270-71c108a8-53e5-4ab0-9ca7-2ca2b1627ad4.png)|[![PyPI](https://img.shields.io/pypi/v/soc4onnx?color=2BAF2B)](https://pypi.org/project/soc4onnx/)[![sam](https://img.shields.io/github/stars/PINTO0309/soc4onnx.svg?style=social)](https://github.com/PINTO0309/soc4onnx)|A very simple tool that forces a change in the opset of an ONNX graph. **S**imple **O**pset **C**hanger for **ONNX**.|\n|8|**[scc4onnx](https://github.com/PINTO0309/scc4onnx)**<br>![scc](https://user-images.githubusercontent.com/33194443/170063890-a79c057e-ce61-4b21-be25-82f58d06f460.png)|[![PyPI](https://img.shields.io/pypi/v/scc4onnx?color=2BAF2B)](https://pypi.org/project/scc4onnx/)[![sam](https://img.shields.io/github/stars/PINTO0309/scc4onnx.svg?style=social)](https://github.com/PINTO0309/scc4onnx)|Very simple NCHW and NHWC conversion tool for ONNX. Change to the specified input order for each and every input OP. Also, change the channel order of RGB and BGR. **S**imple **C**hannel **C**onverter for **ONNX**.|\n|9|**[sna4onnx](https://github.com/PINTO0309/sna4onnx)**<br>![sna](https://user-images.githubusercontent.com/33194443/170064699-39b1645e-d1b0-4751-8399-e47eca2b28ae.png)|[![PyPI](https://img.shields.io/pypi/v/sna4onnx?color=2BAF2B)](https://pypi.org/project/sna4onnx/)[![sog](https://img.shields.io/github/stars/PINTO0309/sna4onnx.svg?style=social)](https://github.com/PINTO0309/sna4onnx)|Simple node addition tool for onnx. **S**imple **N**ode **A**ddition for **ONNX**.|\n|10|**[sbi4onnx](https://github.com/PINTO0309/sbi4onnx)**<br>![sbi](https://user-images.githubusercontent.com/33194443/170146414-5a4b0b8a-ac5e-49e7-9e17-703c04f1b746.png)|[![PyPI](https://img.shields.io/pypi/v/sbi4onnx?color=2BAF2B)](https://pypi.org/project/sbi4onnx/)[![sbi4onnx](https://img.shields.io/github/stars/PINTO0309/sbi4onnx.svg?style=social)](https://github.com/PINTO0309/sbi4onnx)|A very simple script that only initializes the batch size of ONNX. **S**imple **B**atchsize **I**nitialization for **ONNX**.|\n|11|**[sor4onnx](https://github.com/PINTO0309/sor4onnx)**<br>![sor](https://user-images.githubusercontent.com/33194443/170146570-681a4e72-35e2-4625-96ae-dc84ef2ff4c9.png)|[![PyPI](https://img.shields.io/pypi/v/sor4onnx?color=2BAF2B)](https://pypi.org/project/sor4onnx/)[![sor4onnx](https://img.shields.io/github/stars/PINTO0309/sor4onnx.svg?style=social)](https://github.com/PINTO0309/sor4onnx)|**S**imple **O**P **R**enamer for **ONNX**.|\n|12|**[soa4onnx](https://github.com/PINTO0309/soa4onnx)**<br>![soa](https://user-images.githubusercontent.com/33194443/170147250-d49ae8d1-0ad2-4c7c-8578-70d75c3463a7.png)|[![PyPI](https://img.shields.io/pypi/v/soa4onnx?color=2BAF2B)](https://pypi.org/project/soa4onnx/)[![soa4onnx](https://img.shields.io/github/stars/PINTO0309/soa4onnx.svg?style=social)](https://github.com/PINTO0309/soa4onnx)|**S**imple model **O**utput OP **A**dditional tools for **ONNX**.|\n|13|**[sod4onnx](https://github.com/PINTO0309/sod4onnx)**<br>![sod](https://user-images.githubusercontent.com/33194443/190426481-e0f3e187-efe0-4bc7-9970-0fcaec916b5d.png)|[![PyPI](https://img.shields.io/pypi/v/sod4onnx?color=2BAF2B)](https://pypi.org/project/sod4onnx/)[![sod4onnx](https://img.shields.io/github/stars/PINTO0309/sod4onnx.svg?style=social)](https://github.com/PINTO0309/sod4onnx)|**S**imple model **O**utput OP **D**eletion tools for **ONNX**.|\n|14|**[ssi4onnx](https://github.com/PINTO0309/ssi4onnx)**<br>![ssi](https://user-images.githubusercontent.com/33194443/170065874-74cc3c91-e0d6-46fb-9084-925d3d503e05.png)|[![PyPI](https://img.shields.io/pypi/v/ssi4onnx?color=2BAF2B)](https://pypi.org/project/ssi4onnx/)[![ssi4onnx](https://img.shields.io/github/stars/PINTO0309/ssi4onnx.svg?style=social)](https://github.com/PINTO0309/ssi4onnx)|**S**imple **S**hape **I**nference tool for **ONNX**.|\n|15|**[sit4onnx](https://github.com/PINTO0309/sit4onnx)**<br>![sit](https://user-images.githubusercontent.com/33194443/170147823-3f4c34c5-b8f1-4b13-9c4a-6f186b59a024.png)|[![PyPI](https://img.shields.io/pypi/v/sit4onnx?color=2BAF2B)](https://pypi.org/project/sit4onnx/)[![sit4onnx](https://img.shields.io/github/stars/PINTO0309/sit4onnx.svg?style=social)](https://github.com/PINTO0309/sit4onnx)|Tools for simple inference testing using TensorRT, CUDA and OpenVINO CPU/GPU and CPU providers. **S**imple **I**nference **T**est for **ONNX**.|\n|16|**[onnx2json](https://github.com/PINTO0309/onnx2json)**<br>![onnx2json](https://user-images.githubusercontent.com/33194443/170148134-56194fe0-c871-4592-affe-76b2f45bc5c1.png)|[![PyPI](https://img.shields.io/pypi/v/onnx2json?color=2BAF2B)](https://pypi.org/project/onnx2json/)[![onnx2json](https://img.shields.io/github/stars/PINTO0309/onnx2json.svg?style=social)](https://github.com/PINTO0309/onnx2json)|Exports the ONNX file to a JSON file.|\n|17|**[json2onnx](https://github.com/PINTO0309/json2onnx)**<br>![json2onnx](https://user-images.githubusercontent.com/33194443/170148289-aae9591d-c7b7-4ea9-acfd-a790a7b50243.png)|[![PyPI](https://img.shields.io/pypi/v/json2onnx?color=2BAF2B)](https://pypi.org/project/json2onnx/)[![sog](https://img.shields.io/github/stars/PINTO0309/json2onnx.svg?style=social)](https://github.com/PINTO0309/json2onnx)|Converts a JSON file to an ONNX file.|\n|18|**[sed4onnx](https://github.com/PINTO0309/sed4onnx)**<br>![sed](https://user-images.githubusercontent.com/33194443/170149753-3a586319-bded-4385-996a-272a4bb1dac1.png)|[![PyPI](https://img.shields.io/pypi/v/sed4onnx?color=2BAF2B)](https://pypi.org/project/sed4onnx/)[![sog](https://img.shields.io/github/stars/PINTO0309/sed4onnx.svg?style=social)](https://github.com/PINTO0309/sed4onnx)|Simple ONNX constant encoder/decoder. Since the constant values in the JSON files generated by onnx2json are Base64-encoded values, ASCII <-> Base64 conversion is required when rewriting JSON constant values.|\n|19|**[ssc4onnx](https://github.com/PINTO0309/ssc4onnx)**<br>![ssc](https://user-images.githubusercontent.com/33194443/170720385-d8fcde6b-f8c0-4a8e-94eb-230996e0f5d2.png)|[![PyPI](https://img.shields.io/pypi/v/ssc4onnx?color=2BAF2B)](https://pypi.org/project/ssc4onnx/)[![sog](https://img.shields.io/github/stars/PINTO0309/ssc4onnx.svg?style=social)](https://github.com/PINTO0309/ssc4onnx)|Checker with simple ONNX model structure. **S**imple **S**tructure **C**hecker for **ONNX**. Analyzes and displays the structure of huge size models that cannot be displayed by Netron.|\n|20|**[sio4onnx](https://github.com/PINTO0309/sio4onnx)**<br>![image](https://user-images.githubusercontent.com/33194443/178524216-dfd08895-1cf2-4e2e-90ff-45f6c387a110.png)|[![PyPI](https://img.shields.io/pypi/v/sio4onnx?color=2BAF2B)](https://pypi.org/project/sio4onnx/)[![sio](https://img.shields.io/github/stars/PINTO0309/sio4onnx.svg?style=social)](https://github.com/PINTO0309/sio4onnx)|Simple tool to change the INPUT and OUTPUT shape of ONNX.|\n|21|**[svs4onnx](https://github.com/PINTO0309/svs4onnx)**<br>![image](https://user-images.githubusercontent.com/33194443/190839305-a3ac5284-5e14-46cf-9898-0c0cf647f6d9.png)|[![PyPI](https://img.shields.io/pypi/v/svs4onnx?color=2BAF2B)](https://pypi.org/project/svs4onnx/)[![sio](https://img.shields.io/github/stars/PINTO0309/svs4onnx.svg?style=social)](https://github.com/PINTO0309/svs4onnx)|A very simple tool to swap connections between output and input variables in an ONNX graph. **S**imple **V**ariable **S**witch for **ONNX**.|\n|22|**[onnx2tf](https://github.com/PINTO0309/onnx2tf)**<br>![image](https://user-images.githubusercontent.com/33194443/195119470-8dfe0bb8-d214-40ab-b7f7-9cd8025c1e18.png)|[![PyPI](https://img.shields.io/pypi/v/onnx2tf?color=2BAF2B)](https://pypi.org/project/onnx2tf/)[![onnx2tf](https://img.shields.io/github/stars/PINTO0309/onnx2tf.svg?style=social)](https://github.com/PINTO0309/onnx2tf)|Self-Created Tools to convert ONNX files (NCHW) to TensorFlow format (NHWC). The purpose of this tool is to solve the massive Transpose extrapolation problem in onnx-tensorflow (onnx-tf).|\n|23|**[sng4onnx](https://github.com/PINTO0309/sng4onnx)**<br>![image](https://user-images.githubusercontent.com/33194443/195638488-ee468a8f-7eae-413b-bce7-fd386872317f.png)|[![PyPI](https://img.shields.io/pypi/v/sng4onnx?color=2BAF2B)](https://pypi.org/project/sng4onnx/)[![sng4onnx](https://img.shields.io/github/stars/PINTO0309/sng4onnx.svg?style=social)](https://github.com/PINTO0309/sng4onnx)|A simple tool that automatically generates and assigns an OP name to each OP in an old format ONNX file.|\n|24|**[sde4onnx](https://github.com/PINTO0309/sde4onnx)**<br>![sde4onnx_icon](https://user-images.githubusercontent.com/33194443/195972514-de06bcba-3fc7-43be-a6e9-0dfb77fe9154.png)|[![PyPI](https://img.shields.io/pypi/v/sde4onnx?color=2BAF2B)](https://pypi.org/project/sde4onnx/)[![sde4onnx](https://img.shields.io/github/stars/PINTO0309/sde4onnx.svg?style=social)](https://github.com/PINTO0309/sde4onnx)|Simple doc_string eraser for ONNX.|\n|25|**[spo4onnx](https://github.com/PINTO0309/spo4onnx)**<br>![spo4onnx_icon](https://github.com/PINTO0309/simple-onnx-processing-tools/assets/33194443/a69488e4-8066-447f-8846-b72ba69c165e)|[![PyPI](https://img.shields.io/pypi/v/spo4onnx?color=2BAF2B)](https://pypi.org/project/spo4onnx/)[![spo4onnx](https://img.shields.io/github/stars/PINTO0309/spo4onnx.svg?style=social)](https://github.com/PINTO0309/spo4onnx)|Simple tool for partial optimization of ONNX. Further optimize some models that cannot be optimized with onnx-optimizer and onnxsim by several tens of percent. In particular, models containing Einsum and OneHot.|\n|26|**[components_of_onnx](https://github.com/PINTO0309/components_of_onnx)**<br>![components_of_onnx](https://user-images.githubusercontent.com/33194443/170149987-6184980f-e4cf-4b1b-b49f-92874c7941a5.png)|[WIP][![PyPI](https://img.shields.io/pypi/v/components_of_onnx?color=2BAF2B)](https://pypi.org/project/components_of_onnx/)[![sog](https://img.shields.io/github/stars/PINTO0309/components_of_onnx.svg?style=social)](https://github.com/PINTO0309/components_of_onnx)|ONNX parts yard. The various operations described in [Operator Schemas](https://github.com/onnx/onnx/blob/main/docs/Operators.md) are converted in advance into OP stand-alone ONNX files.|\n\n## 2. Very useful tools\n\n|No.|Tool Name|Author|Tags|Summary|\n|:-:|:-:|:-|:-:|:-|\n|1|**[OnnxGraphQt](https://github.com/fateshelled/OnnxGraphQt)**<br>![onnx_graph_qt](https://user-images.githubusercontent.com/33194443/170164510-b53b14d0-3492-4952-9ed9-1bbfb52c12e8.png)|**[fateshelled](https://github.com/fateshelled)**|[![OnnxGraphQt](https://img.shields.io/github/stars/fateshelled/OnnxGraphQt.svg?style=social)](https://github.com/fateshelled/OnnxGraphQt)|ONNX model visualizer. Model structure can be edited on the visualization tool.![image](https://user-images.githubusercontent.com/33194443/173706201-c2830683-d434-4fb1-97ab-839a1aac17d0.png)![image](https://user-images.githubusercontent.com/33194443/166604396-1fe3a015-9b3c-4a49-8bc4-7438aedbbab6.png)|\n|2|**[onnx-modifier](https://github.com/ZhangGe6/onnx-modifier)**<br>![image](https://user-images.githubusercontent.com/33194443/205486515-446774f7-2048-4035-b22c-4d0e97ad7884.png)|**[ZhangGe6](https://github.com/ZhangGe6)**|[![onnx-modifier](https://img.shields.io/github/stars/ZhangGe6/onnx-modifier.svg?style=social)](https://github.com/ZhangGe6/onnx-modifier)|To edit an ONNX model, One common way is to visualize the model graph, and edit it using ONNX Python API.![image](https://user-images.githubusercontent.com/33194443/205486639-be8c952d-20ab-4f28-b1bc-59ffc0ca008a.png)|\n|3|**[onnx-simplifier](https://github.com/daquexian/onnx-simplifier)**|**[daquexian](https://github.com/daquexian)**|[![PyPI](https://img.shields.io/pypi/v/onnx-simplifier?color=2BAF2B)](https://pypi.org/project/onnx-simplifier/)[![onnxsim](https://img.shields.io/github/stars/daquexian/onnx-simplifier.svg?style=social)](https://github.com/daquexian/onnx-simplifier)|ONNX Simplifier is presented to simplify the ONNX model. It infers the whole computation graph and then replaces the redundant operators with their constant outputs.|\n|4|**[Sparsify](https://github.com/neuralmagic/sparsify)**<br>![image](https://user-images.githubusercontent.com/33194443/176984385-8255401c-a569-4b10-9760-8190c4438001.png)|**[neuralmagic](https://github.com/neuralmagic)**|[![PyPI](https://img.shields.io/pypi/v/sparsify?color=2BAF2B)](https://pypi.org/project/sparsify/)[![sparsify](https://img.shields.io/github/stars/neuralmagic/sparsify.svg?style=social)](https://github.com/neuralmagic/sparsify)|Easy-to-use UI for automatically sparsifying neural networks and creating sparsification recipes for better inference performance and a smaller footprint.![image](https://user-images.githubusercontent.com/33194443/176984241-5fa88e7d-3de0-4e8f-8235-e3bba34ae860.png)|\n|5|**[DeepSparse Engine](https://github.com/neuralmagic/deepsparse)**<br>![image](https://user-images.githubusercontent.com/33194443/176984357-34af44e5-3290-4b2f-8961-092da2ca2f75.png)|**[neuralmagic](https://github.com/neuralmagic)**|[![PyPI](https://img.shields.io/pypi/v/deepsparse?color=2BAF2B)](https://pypi.org/project/deepsparse/)[![deepsparse](https://img.shields.io/github/stars/neuralmagic/deepsparse.svg?style=social)](https://github.com/neuralmagic/deepsparse)|Sparsity-aware neural network inference engine for GPU-class performance on CPUs.![image](https://user-images.githubusercontent.com/33194443/176984416-fd27ea7a-f811-44bb-a2b5-55969c9de56f.png)![image](https://user-images.githubusercontent.com/33194443/176984421-6241a8ec-2fbe-44f5-a847-2db1fd60324e.png)|\n|6|**[Sparsebit](https://github.com/megvii-research/Sparsebit)**|**[megvii-research](https://github.com/megvii-research/Sparsebit)**|[![PyPI](https://img.shields.io/pypi/v/Sparsebit?color=2BAF2B)](https://pypi.org/project/Sparsebit/)[![Sparsebit](https://img.shields.io/github/stars/megvii-research/Sparsebit.svg?style=social)](https://github.com/megvii-research/deepsparse)|Sparsebit is a toolkit with pruning and quantization capabilities. It is designed to help researchers compress and accelerate neural network models by modifying only a few codes in existing pytorch project.|\n|7|**[onnion](https://github.com/Idein/onnion)**|**[Idein](https://github.com/Idein)**|[![PyPI](https://img.shields.io/pypi/v/onnion?color=2BAF2B)](https://pypi.org/project/onnion/)[![onnion](https://img.shields.io/github/stars/Idein/onnion.svg?style=social)](https://github.com/Idein/onnion)|onnion project. compile onnx to python. runtime depends only numpy.|\n\n\n### 2-1. OnnxGraphQt - [WIP] Startup Method Sample\n```bash\ngit clone https://github.com/fateshelled/OnnxGraphQt\ncd OnnxGraphQt\n# build docker image\n./docker/build.bash\n# run\n./docker/run.bash\n```\n\n## 3. Acknowledgments\n1. https://github.com/onnx/onnx/blob/main/docs/PythonAPIOverview.md\n2. https://docs.nvidia.com/deeplearning/tensorrt/onnx-graphsurgeon/docs/index.html\n3. https://github.com/NVIDIA/TensorRT/tree/main/tools/onnx-graphsurgeon\n4. https://github.com/onnx/onnx/blob/main/docs/Operators.md\n\n## 4. References\n1. https://github.com/PINTO0309/PINTO_model_zoo\n2. https://github.com/PINTO0309/PINTO_model_zoo/tree/main/115_MoveNet/PINTO_Special/barracuda_gathernd_split\n\n    https://user-images.githubusercontent.com/33194443/192281791-cf469dfd-f29a-4301-bd39-e96dd868dad9.mp4\n\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "A set of simple tools for splitting, merging, OP deletion, size compression, rewriting attributes and constants, OP generation, change opset, change to the specified input order, addition of OP, RGB to BGR conversion, change batch size, batch rename of OP, and JSON convertion for ONNX models.",
    "version": "1.1.32",
    "project_urls": {
        "Homepage": "https://github.com/PINTO0309/simple-onnx-processing-tools"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "20a66df4a132bf75aec6ee9a5822b1630364e26ea9cb555173e761ac19d59a46",
                "md5": "d728386ff52b1baae2103ff8836d1830",
                "sha256": "af575ff69b606822d6218a6c5e2224c15b424685ce998f1e4bab38f3968ee18d"
            },
            "downloads": -1,
            "filename": "simple_onnx_processing_tools-1.1.32-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d728386ff52b1baae2103ff8836d1830",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 7833,
            "upload_time": "2024-04-22T14:24:26",
            "upload_time_iso_8601": "2024-04-22T14:24:26.453118Z",
            "url": "https://files.pythonhosted.org/packages/20/a6/6df4a132bf75aec6ee9a5822b1630364e26ea9cb555173e761ac19d59a46/simple_onnx_processing_tools-1.1.32-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dec9272e2ec4f8c3764a629a7a0fe2376d5d7727c081221e335ab96906f7a9ac",
                "md5": "0a88c5e6dce98af91e8207d18faae9ab",
                "sha256": "4d1198bb79198c9d12f723f342290f48a3f71bb24f3c9a28cc7a488af81f1ede"
            },
            "downloads": -1,
            "filename": "simple_onnx_processing_tools-1.1.32.tar.gz",
            "has_sig": false,
            "md5_digest": "0a88c5e6dce98af91e8207d18faae9ab",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 13179,
            "upload_time": "2024-04-22T14:24:28",
            "upload_time_iso_8601": "2024-04-22T14:24:28.507706Z",
            "url": "https://files.pythonhosted.org/packages/de/c9/272e2ec4f8c3764a629a7a0fe2376d5d7727c081221e335ab96906f7a9ac/simple_onnx_processing_tools-1.1.32.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-22 14:24:28",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "PINTO0309",
    "github_project": "simple-onnx-processing-tools",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "simple-onnx-processing-tools"
}
        
Elapsed time: 0.23201s