MODEL_NAME = ‘/home/chengwang/Workspace/models-master/research/object_detection/tsinghua/output_model_dir_model-master1/export_pb’
PATH_TO_FROZEN_GRAPH = MODEL_NAME + ‘/frozen_inference_graph.pb’
PATH_TO_LABELS = os.path.join(MODEL_NAME, ‘tsinghua_label_map.pbtxt’)
print(MODEL_NAME)
print(PATH_TO_LABELS)
PATH_TO_LABELS = os.path.join(MODEL_NAME, ‘/tsinghua_label_map.pbtxt’) #只多了一个斜杠
print(MODEL_NAME)
print(PATH_TO_LABELS)