Skip to content

SlimeVR/Bingus-Search

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •