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

Is this the final trained model as mentioned in the article? #3

Open
f16hari opened this issue Jan 12, 2020 · 0 comments
Open

Is this the final trained model as mentioned in the article? #3

f16hari opened this issue Jan 12, 2020 · 0 comments

Comments

@f16hari
Copy link

f16hari commented Jan 12, 2020

I used the saved model to verify the result but the output is completely gibrish.
this is the code that I used.

import tensorflow as tf
import librosa
import json

import tensorflow.compat.v1 as tf1

loaded = tf.saved_model.load("C:/Users/HARI/Desktop/FinalYearProject/TensorFlowLite/vv/1546646971")
print(list(loaded.signatures.keys()))
infer = loaded.signatures["serving_default"]
print(infer.structured_outputs)
SAMPLING_RATE = 16000
wave, _ = librosa.load("audio.wav", sr=SAMPLING_RATE)
output = infer(audio=tf.constant(wave),length=tf.constant(len(wave)))

print(output)

can you please attach your final model??
please this is a request.

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

1 participant