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