Comments (5)
Update: SavedModels are already currrently being outputted to /tmp/serving
after running a spleeter separation.
You can change this output directory via the DEFAULT_EXPORT_DIRECTORY
constant in estimator.py
.
from spleeter.
Related to this, do you have any plans to convert the model to a TensorflowJS model? Having a Javascript counterpart would be pretty useful for embedding Spleeter in other applications.
This will not happening from our side, the only migration we would consider at some point is porting library with TensorFlow 2. Plus I had checked a little bit before releasing and it would be very complicated as TensorFlow JS does not provide the range of functionality Spleeter is currently using in Python (estimator
API to be more specific)
But if you are motivated feel free to explore, we would love having other language adoption from contributors.
Update: SavedModels are already currrently being outputted to
/tmp/serving
after running a spleeter separation.You can change this output directory via the
DEFAULT_EXPORT_DIRECTORY
constant inestimator.py
.
I will close the issue since you seem to have figured out how but we will also upload those model on the release soon.
from spleeter.
@JeffreyCA did you succeed in properly convert the SavedModes into tf.js?
I used the method explained here but had these warnings during conversion:
WARNING:tensorflow:Didn't find expected Conv2D or DepthwiseConv2dNative input to 'batch_normalization_8/cond/FusedBatchNorm'
WARNING:tensorflow:Didn't find expected Conv2D or DepthwiseConv2dNative input to 'batch_normalization_20/cond/FusedBatchNorm_1'
WARNING:tensorflow:Didn't find expected Conv2D or DepthwiseConv2dNative input to 'batch_normalization_20/cond/FusedBatchNorm'
WARNING:tensorflow:Didn't find expected Conv2D or DepthwiseConv2dNative input to 'batch_normalization_9/cond/FusedBatchNorm_1'
WARNING:tensorflow:Didn't find expected Conv2D or DepthwiseConv2dNative input to 'batch_normalization_9/cond/FusedBatchNorm'
WARNING:tensorflow:Didn't find expected Conv2D or DepthwiseConv2dNative input to 'batch_normalization_21/cond/FusedBatchNorm_1'
WARNING:tensorflow:Didn't find expected Conv2D or DepthwiseConv2dNative input to 'batch_normalization_21/cond/FusedBatchNorm'
WARNING:tensorflow:Didn't find expected Conv2D or DepthwiseConv2dNative input to 'batch_normalization_10/cond/FusedBatchNorm_1'
WARNING:tensorflow:Didn't find expected Conv2D or DepthwiseConv2dNative input to 'batch_normalization_10/cond/FusedBatchNorm'
WARNING:tensorflow:Didn't find expected Conv2D or DepthwiseConv2dNative input to 'batch_normalization_22/cond/FusedBatchNorm_1'
WARNING:tensorflow:Didn't find expected Conv2D or DepthwiseConv2dNative input to 'batch_normalization_22/cond/FusedBatchNorm'
WARNING:tensorflow:Didn't find expected Conv2D or DepthwiseConv2dNative input to 'batch_normalization_11/cond/FusedBatchNorm_1'
WARNING:tensorflow:Didn't find expected Conv2D or DepthwiseConv2dNative input to 'batch_normalization_11/cond/FusedBatchNorm'
WARNING:tensorflow:Didn't find expected Conv2D or DepthwiseConv2dNative input to 'batch_normalization_23/cond/FusedBatchNorm_1'
WARNING:tensorflow:Didn't find expected Conv2D or DepthwiseConv2dNative input to 'batch_normalization_23/cond/FusedBatchNorm'
from spleeter.
Related to this, do you have any plans to convert the model to a TensorflowJS model? Having a Javascript counterpart would be pretty useful for embedding Spleeter in other applications.
from spleeter.
No I did not try to do that
from spleeter.
Related Issues (20)
- Doesn't Work with Sonoma HOT 2
- [Bug] Version 3.12 compatible
- Regarding the use of separate_to_file, a deprecation warning is prompted! HOT 1
- Cannot do `poetry add spleeter` due to `tensorflow-io-gcs-filesystem` error
- [Discussion] your question HOT 1
- [Feature] your feature name
- I created web UI. You can have it
- [Bug] Fail to install (with python 3.10.13) HOT 4
- Install fail on macOS Sonoma 14.2, on Apple M2 laptop HOT 4
- Why is the audio unchanged after separation? HOT 6
- Index Error
- [Discussion] cuda memory optimisation issues
- [Feature] Create a Docker image for Apple Silicon HOT 1
- [Discussion] Is there any way to release memory after separating is done?? HOT 2
- How to use 2stems-finetune?
- [Discussion] license for model weights
- AssertionError: Nesting violated for default stack of <class 'tensorflow.python.framework.ops.Graph'> objects HOT 2
- Separator failing with "Trying to set the stream twice. This isn't supported. "
- The TensorFlow library was compiled to use SSE4.1 instructions, but these aren't available on your machine. Aborted (core dumped)
- [Feature] tell people how to run from git HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spleeter.