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

confusing #176

Open
Queridaaa opened this issue Nov 2, 2020 · 0 comments
Open

confusing #176

Queridaaa opened this issue Nov 2, 2020 · 0 comments

Comments

@Queridaaa
Copy link

Traceback (most recent call last):
File "demo.py", line 172, in
main(YOLO())
File "demo.py", line 48, in main
encoder = gdet.create_box_encoder(model_filename,batch_size=1)
File "C:\Users\Administrator\Desktop\deep_sort_yolov3-master\tools\generate_detections.py", line 100, in create_box_encoder
image_encoder = ImageEncoder(model_filename, input_name, output_name)
File "C:\Users\Administrator\Desktop\deep_sort_yolov3-master\tools\generate_detections.py", line 80, in init
self.input_var = tf.get_default_graph().get_tensor_by_name(
File "D:\study\ananconda\lib\site-packages\tensorflow\python\framework\ops.py", line 3846, in get_tensor_by_name
return self.as_graph_element(name, allow_tensor=True, allow_operation=False)
File "D:\study\ananconda\lib\site-packages\tensorflow\python\framework\ops.py", line 3670, in as_graph_element
return self._as_graph_element_locked(obj, allow_tensor, allow_operation)
File "D:\study\ananconda\lib\site-packages\tensorflow\python\framework\ops.py", line 3710, in _as_graph_element_locked
raise KeyError("The name %s refers to a Tensor which does not "
KeyError: "The name 'net/images:0' refers to a Tensor which does not exist. The operation, 'net/images', does not exist in the graph."

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