You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
KeyError: "The name 'deepspeech/input_node:0' refers to a Tensor which does not exist. The operation, 'deepspeech/input_node', does not exist in the graph."
#134
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.
Traceback (most recent call last):
File "path_to_voca_env/voca_env/lib/python3.8/site-packages/tensorflow/python/framework/ops.py", line 3618, in _as_graph_element_locked
op = self._get_operation_by_name(op_name)
KeyError: ''
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "run_voca.py", line 59, in <module>
inference(tf_model_fname, ds_fname, audio_fname, template_fname, condition_idx, out_path, str2bool(args.visualize), uv_template_fname=uv_template_fname, texture_img_fname=texture_img_fname)
File "path_to_voca/voca/voca/utils/inference.py", line 109, in inference
processed_audio = process_audio(ds_fname, audio, sample_rate)
File "path_to_voca/voca/voca/utils/inference.py", line 43, in process_audio
return audio_handler.process(tmp_audio)['subj']['seq']['audio']
File "path_to_voca/voca/voca/utils/audio_handler.py", line 53, in process
return self.convert_to_deepspeech(audio)
File "path_to_voca/voca/voca/utils/audio_handler.py", line 102, in convert_to_deepspeech
input_tensor = graph.get_tensor_by_name('deepspeech/input_node:0')
File "path_to_voca/voca_env/lib/python3.8/site-packages/tensorflow/python/framework/ops.py", line 3723, in get_tensor_by_name
return self.as_graph_element(name, allow_tensor=True, allow_operation=False)
File "path_to_voca_env/voca_env/lib/python3.8/site-packages/tensorflow/python/framework/ops.py", line 3580, in as_graph_element
return self._as_graph_element_locked(obj, allow_tensor, allow_operation)
File "path_to_voca_env/voca_env/lib/python3.8/site-packages/tensorflow/python/framework/ops.py", line 3620, in _as_graph_element_locked
raise KeyError(
KeyError: "The name 'deepspeech/input_node:0' refers to a Tensor which does not exist. The operation, 'deepspeech/input_node', does not exist in the graph."
The text was updated successfully, but these errors were encountered:
When trying to run the example, I get the error.
The text was updated successfully, but these errors were encountered: