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

The name 'input_images_1:0' refers to a Tensor which does not exist #78

Open
ipekoztas opened this issue Oct 21, 2024 · 0 comments
Open

Comments

@ipekoztas
Copy link

Thank you for the great work. I am trying to run the code available, I setup the environment and installed the necessary models but I have the following error:

KeyError: "The name 'input_images_1:0' refers to a Tensor which does not exist. The operation, 'input_images_1', does not exist in the graph."

For this part of the file run_RingNet.py

def predict_dict(self, images): """ Runs the model with images. """ images_ip = self.graph.get_tensor_by_name(u'input_images_1:0') params = self.graph.get_tensor_by_name(u'add_2:0') verts = self.graph.get_tensor_by_name(u'Flamenetnormal_2/Add_9:0') feed_dict = { images_ip: images, } fetch_dict = { 'vertices': verts, 'parameters': params, } results = self.run(fetch_dict, feed_dict) tf.reset_default_graph() returnresults``

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