spleeter icon indicating copy to clipboard operation
spleeter copied to clipboard

[Discussion] How can I use spleeter on ios

Open MuhammadAarfeen opened this issue 2 years ago • 2 comments

Hello, I want to use spleeter on ios. I have tried https://github.com/FaceOnLive/Spleeter-Android-iOS but it has some issue and it is not working on ios.

MuhammadAarfeen avatar Aug 20 '22 07:08 MuhammadAarfeen

The best approach (in my opinion) would be to use the TensorFlow checkpoint files (the big files available to download) and convert those to a PB format (by freezing the graph in TensorFlow) and then converting that to a CoreML model or a TensorFlow Lite model.

See this: https://github.com/tinoucas/spleeter-tflite-convert -- it will help with converting to TensorFlow Lite

You then need to write some code to load that model and make an inference - to get the stems/splitted waveform back.

Hope this helps ...

netv1 avatar Aug 31 '22 15:08 netv1

The best approach (in my opinion) would be to use the TensorFlow checkpoint files (the big files available to download) and convert those to a PB format (by freezing the graph in TensorFlow) and then converting that to a CoreML model or a TensorFlow Lite model.

See this: https://github.com/tinoucas/spleeter-tflite-convert -- it will help with converting to TensorFlow Lite

You then need to write some code to load that model and make an inference - to get the stems/splitted waveform back.

Hope this helps ...

Can you teach me? I dont know how to use tflite. I dont know what to do next. Think you.

gap1994 avatar Dec 30 '23 09:12 gap1994