-
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prepare data with tensorflow? #5
Comments
in my case particularly i have a problem translating some functions to javascript Line 57 in 3c1dc9e
as far as i understand you're adding two arrays of different shapes by adding another dimension to one of them having the task implemented in tensorflow would allow me to use your code as reference and reimplement the process using the very same methods available via TensorFlow.js API |
@mishushakov I'm for that, I'll look into making it all tensorflow operations. Yes, when preparing the input data, each output audio sample depends on the previous "input_size" number of samples. So it's building an array of (numSamples, input_size,). For an input size of 100, 99% of the data is redundant, so I'm also interested in a more clever way of handling the preprocessing so that the RAM doesn't blow up. |
currently numpy is used for preparing data in predict.py (and other places)
it would makes sense to switch to corresponding methods in tensorflow
primary motivation would be better performance (source) and secondary, to have same preparation pipeline on every platform tensorflow supports, compared to numpy, which is only available in python
The text was updated successfully, but these errors were encountered: