Closed agonzalezd closed 2 years ago
It seems to be working with the previous commit 5c3b6997b4145f69dfdb628f556e41e2a295fe57, using TensorFlow 2.6.2
Thanks for reporting the issue ! I am glad that this code is benefitting someone besides myself !
I have been able to replicate the issue, and it appears to be caused by some change in behaviour in the TF Lite converter in tensorflow version v2.8.0, where the shape information is lost causing the input shape to the TDNN layers to become completely unknown:
tf.Conv2D(tensor<*xf32>, tensor<1x5x30x512xf32>) -> (tensor<?x?x?x512xf32>) : ....
^
unknown input shape
I plan to create a minimal reproducible example and post on the tensorflow repo. For now, I have found a straightforward stop gap solution and added it in this commit. Please check if this solves the issue for you.
Also I added a new example to the README file. Please do check that out :D
These last commits fixed the issue, thank you very much!
I really appreciate this work since it proves rather useful for Kaldi users. The goal now is trying to use your code on ASR tasks using TDNN models, which are publicly available in the community.
Thank you for your contributions!
Greetings,
First of all, thank you so much for this repository.
I am having some issues trying to use your code.
I downloaded the model used for your demo and followed the instructions for converting it to TFlite. However, I am having the following error:
I am not doing anything new, I was just trying to use your recipe. I thought this model was compatible with
TFLITE_BUILTINS
operations subset for tflite.Thank you so much in advance.