Comments (6)
Sadly I found this microsoft/onnxjs#167
from dtln.
Ahh sigh !!! Tfjs it is then :)
from dtln.
I read into the documentation and it should support lstms. I converted the model with hopfully the right opset. Try this model:
models.zip
Probably the keras2onnx converter uses by default a newer opset for converting the models as used by onnx.js. This model is converted with opset 7.
from dtln.
Tried the test model. No luck same error.
I debugged the onnx model graph loading code. The issue seems to be an input to LSTM. The object it throws the exception on seems to be this:
attribute: (3) [t, t, t]
domain: ""
input: (8) ["lstm_4_X", "lstm_4_W", "lstm_4_R", "lstm_4_B", "", "lstm_4_initial_h", "lstm_4_initial_c", ""]
name: "lstm_4"
opType: "LSTM"
output: (3) ["lstm_4_Y", "lstm_4_Y_h", "lstm_4_Y_c"]
proto: Object
Notice empty "" in 5th and last position. This is what its complaining about.
By the way in looking through the docs for Onnx Javascript LSTM op is not supported in JavaScript ?
https://github.com/microsoft/onnxjs/blob/master/docs/operators.md
In the LSTM column of the doc I don't see it mentioned for any opset.
from dtln.
Oh yeah, it looks like I skipped that when reading on my phone. Hopefully they integrate the support for lstms soon.
from dtln.
Ahh sigh !!! Tfjs it is then :)
did you get this working with JS? Any pointers?
from dtln.
Related Issues (20)
- Dimension mismatch error for real_time_dtln_audio.py HOT 1
- PESQ and STOI calculator HOT 1
- Can DTLN be combined with AEC in real time communication? HOT 1
- How to modify DTLN_model.py files to support the latest tensorflow 2.9
- ValueError: Unexpected result of `train_function` (Empty logs). HOT 1
- Validation loss is too high HOT 1
- Creating integer only models HOT 11
- About one model HOT 1
- Using convert_weights_to_tf_lite.py did not produce the same results as the pre-training model. HOT 3
- Are my val_loss values valid? HOT 2
- Is it necessary to apply a window after fft? HOT 1
- The length of the audio after noise reduction is shortened HOT 3
- Multiple voices (far and near), in this issue,how to separate
- Can the calculation estimated_complex be modified? HOT 1
- Integer two tflite.
- error: 'tf.TensorListSetItem' op is neither a custom op nor a flex op while trying to quantize the model into int8 HOT 4
- Which onnx does the DTLN_norm_500h.h5 file correspond to?
- about problem of adding win function frame
- Why there is 384 latency?
- Make DTLN as one model? HOT 1
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 dtln.