Skip to content

shoegazerstella/spleeter_saved_models

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Spleeter savedModels

savedModels for Spleeter (tf and tfjs)

Convert an existing TensorFlow model to the TensorFlow.js web format

If you want to convert the savedModel to tfjs anyways, you can follow the official guide here you should look at the SavedModel example

Run a TensorFlow SavedModel in Node.js directly without conversion

It is now possible to run a tf SavedModel in nodejs without conversion, see related blog post here.

See inference_saved_model.js for a working example of model load.

node inference_saved_model.js
modelInfo [ { tags: [ 'serve' ], signatureDefs: { serving_default: [Object] } } ]
tags [ 'serve' ]
signatureDefs {
  serving_default: {
    inputs: {
      audio_id: [Object],
      mix_spectrogram: [Object],
      mix_stft: [Object],
      waveform: [Object]
    },
    outputs: { accompaniment: [Object], audio_id: [Object], vocals: [Object] }
  }
}

TODOs:

  • add all available spleeter models
  • add a working example of inference

About

saved models for spleeter (tf and tfjs)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published