Real-time-processing Tf_lite inference program ERROR
See original GitHub issueHi I loaded a noisy one channel .wav file to perform inference using real_time_processing_tf_lite.py
.
I got the following Dimension mismatch error.
Traceback (most recent call last): File “real_time_processing_tf_lite.py”, line 70, in <module> interpreter_1.set_tensor(input_details_1[0][‘index’], states_1) File “/Users/cyberon/anaconda3/envs/dtln_py/lib/python3.7/site-packages/tflite_runtime/interpreter.py”, line 399, in set_tensor self._interpreter.SetTensor(tensor_index, value) File “/Users/cyberon/anaconda3/envs/dtln_py/lib/python3.7/site-packages/tflite_runtime/interpreter_wrapper.py”, line 148, in SetTensor return _interpreter_wrapper.InterpreterWrapper_SetTensor(self, i, value) ValueError: Cannot set tensor: Dimension mismatch. Got 4 but expected 3 for input 0.
Any inputs on this will be helpful!
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (1 by maintainers)
Top GitHub Comments
Thanks for the quick fix! The audio file is denoised finally.
Should be fixed now.