{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/models/issues/1595","repository_url":"https://api.github.com/repos/tensorflow/models","labels_url":"https://api.github.com/repos/tensorflow/models/issues/1595/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/models/issues/1595/comments","events_url":"https://api.github.com/repos/tensorflow/models/issues/1595/events","html_url":"https://github.com/tensorflow/models/issues/1595","id":236674319,"number":1595,"title":"ImportError: cannot import name 'string_int_label_map_pb2'","user":{"login":"bsrinivas84","id":5057267,"avatar_url":"https://avatars3.githubusercontent.com/u/5057267?v=4","gravatar_id":"","url":"https://api.github.com/users/bsrinivas84","html_url":"https://github.com/bsrinivas84","followers_url":"https://api.github.com/users/bsrinivas84/followers","following_url":"https://api.github.com/users/bsrinivas84/following{/other_user}","gists_url":"https://api.github.com/users/bsrinivas84/gists{/gist_id}","starred_url":"https://api.github.com/users/bsrinivas84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsrinivas84/subscriptions","organizations_url":"https://api.github.com/users/bsrinivas84/orgs","repos_url":"https://api.github.com/users/bsrinivas84/repos","events_url":"https://api.github.com/users/bsrinivas84/events{/privacy}","received_events_url":"https://api.github.com/users/bsrinivas84/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2017-06-17T17:44:03Z","updated_at":"2017-09-09T03:31:31Z","closed_at":"2017-06-18T07:36:44Z","author_association":"NONE","body":"In step \"Object detection imports\" I am getting the following error\r\n=============\r\nImportError Traceback (most recent call last)\r\nin ()\r\n----> 1 from utils import label_map_util\r\n2\r\n3 from utils import visualization_utils as vis_util\r\nD:\\Personal\\learn\\ML\\DL\\Tensorflow\\Official-Tutorial\\models-master\\object_detection\\utils\\label_map_util.py in ()\r\n20 import tensorflow as tf\r\n21 from google.protobuf import text_format\r\n---> 22 from object_detection.protos import string_int_label_map_pb2\r\n23\r\n24\r\nImportError: cannot import name 'string_int_label_map_pb2'\r\n==================================\r\nTo workaround/proceed I commented the following line in \"label_map_util.py\"\r\nfrom object_detection.protos import string_int_label_map_pb2\r\n\r\nBut I am now getting error at step \"Loading label map\"\r\nNameError: name 'string_int_label_map_pb2' is not defined\r\n\r\nSo need your help to solve the error in step \"Object detection imports\"\r\nAppreciate the help to proceed further\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tensorflow/models/issues/comments/328251307","html_url":"https://github.com/tensorflow/models/issues/1595#issuecomment-328251307","issue_url":"https://api.github.com/repos/tensorflow/models/issues/1595","id":328251307,"user":{"login":"yuye1992","id":25682381,"avatar_url":"https://avatars3.githubusercontent.com/u/25682381?v=4","gravatar_id":"","url":"https://api.github.com/users/yuye1992","html_url":"https://github.com/yuye1992","followers_url":"https://api.github.com/users/yuye1992/followers","following_url":"https://api.github.com/users/yuye1992/following{/other_user}","gists_url":"https://api.github.com/users/yuye1992/gists{/gist_id}","starred_url":"https://api.github.com/users/yuye1992/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuye1992/subscriptions","organizations_url":"https://api.github.com/users/yuye1992/orgs","repos_url":"https://api.github.com/users/yuye1992/repos","events_url":"https://api.github.com/users/yuye1992/events{/privacy}","received_events_url":"https://api.github.com/users/yuye1992/received_events","type":"User","site_admin":false},"created_at":"2017-09-09T03:31:31Z","updated_at":"2017-09-09T03:31:31Z","author_association":"NONE","body":"i had the same error,but i solved it. make sure your protoc version >=2.6,download tensorflow/model to a new folder ,and re-install it."}}
{"actor":{"display_login":"yuye1992"}}