ImUrX / Bingus-Search

A website to provide FAQ support for SlimeVR

Home Page:https://bingus.bscotch.ca/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bingus

Compiling ONNX Runtime Extensions

To compile ONNX Runtime Extensions, run the following commands:

git clone --recurse-submodules https://github.com/microsoft/onnxruntime-extensions.git
cd onnxruntime-extensions

For Windows

rem Run the provided build script for Windows
build.bat

For Linux

# Run the provided build script for Linux
bash ./build.sh

The output file will be quite large (100+ MB), so to reduce the size, you can strip all debug information with this command:

strip --strip-all libortextensions.so

Converting TensorFlow model to ONNX model

To convert the TensorFlow model to an ONNX model, you will need to have the ONNX Runtime Extensions, then run the following commands:

# Install required packages
pip install -U onnx tensorflow tensorflow_text tf2onnx

# Convert the model
python -m tf2onnx.convert --saved-model ./models/tensorflow/use_l_v5/ --output ./models/onnx/use_l_v5.onnx --load_op_libraries libortextensions.so --opset 17 --extra_opset ai.onnx.contrib:1

About

A website to provide FAQ support for SlimeVR

https://bingus.bscotch.ca/

License:MIT License


Languages

Language:C# 64.0%Language:TypeScript 27.7%Language:HTML 6.2%Language:CSS 2.1%