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.
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.