deezer / deezer/spleeter

[Discussion] How to get the onnx format of the model?

Open
#937 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
28.4k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

In order to convert the model to onnx format, I heard that saved_model format is required.
Execute in the command line: python -m spleeter separate -p spleeter:4stems -o output audio_example.mp3, and the resulting directory structure is as follows:
spleeter/pretrained_models/4stems/
2025/05/27 20:04 .probe
2019/10/24 17:36 ._checkpoint
2019/10/24 17:36 checkpoint
2019/10/24 17:35 model.data-00000-of-00001
2019/10/24 17:35 model.index
2019/10/24 17:35 model.meta

The saved_model format file was not found. Does converting a file to onnx format necessarily require a model in saved_model format?

There is another method to convert to onnx?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.