Skip to content
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

ValueError: Exception encountered when calling STFT.call(). #144

Open
natesh-ganesh opened this issue Sep 16, 2024 · 1 comment
Open

ValueError: Exception encountered when calling STFT.call(). #144

natesh-ganesh opened this issue Sep 16, 2024 · 1 comment

Comments

@natesh-ganesh
Copy link

Keep getting this error when I try to run the example codes. Not able to figure out why.

ValueError: Exception encountered when calling STFT.call().

Could not automatically infer the output shape / dtype of 'stft' (of type STFT). Either the STFT.call() method is incorrect, or you need to implement the STFT.compute_output_spec() / compute_output_shape() method. Error encountered:

Invalid dtype: complex64

Arguments received by STFT.call():
• args=('<KerasTensor shape=(None, 44100, 6), dtype=float32, sparse=False, name=keras_tensor>',)
• kwargs=<class 'inspect._empty'>

@FlavCzarithia
Copy link

I would like to know if this was resolved? I al actually interested on the steps since I ran into the same situation while converting the h5 file to tflite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants