Qidian213 / deep_sort_yolov3

Real-time Multi-person tracker using YOLO v3 and deep_sort with tensorflow
GNU General Public License v3.0
1.65k stars 593 forks source link

confusing #176

Open Queridaaa opened 3 years ago

Queridaaa commented 3 years ago

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