Skip to content

Latest commit

 

History

413 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bingus

Recommended Models

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

Resources

Stars

6 stars

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages