{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/582","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/582/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/582/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/582/events","html_url":"https://github.com/tensorflow/tensorflow/issues/582","id":123338794,"number":582,"title":"error parsing inception v3 file ","user":{"login":"ry","id":80,"avatar_url":"https://avatars.githubusercontent.com/u/80?v=3","gravatar_id":"","url":"https://api.github.com/users/ry","html_url":"https://github.com/ry","followers_url":"https://api.github.com/users/ry/followers","following_url":"https://api.github.com/users/ry/following{/other_user}","gists_url":"https://api.github.com/users/ry/gists{/gist_id}","starred_url":"https://api.github.com/users/ry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ry/subscriptions","organizations_url":"https://api.github.com/users/ry/orgs","repos_url":"https://api.github.com/users/ry/repos","events_url":"https://api.github.com/users/ry/events{/privacy}","received_events_url":"https://api.github.com/users/ry/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"sherrym","id":12770037,"avatar_url":"https://avatars.githubusercontent.com/u/12770037?v=3","gravatar_id":"","url":"https://api.github.com/users/sherrym","html_url":"https://github.com/sherrym","followers_url":"https://api.github.com/users/sherrym/followers","following_url":"https://api.github.com/users/sherrym/following{/other_user}","gists_url":"https://api.github.com/users/sherrym/gists{/gist_id}","starred_url":"https://api.github.com/users/sherrym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sherrym/subscriptions","organizations_url":"https://api.github.com/users/sherrym/orgs","repos_url":"https://api.github.com/users/sherrym/repos","events_url":"https://api.github.com/users/sherrym/events{/privacy}","received_events_url":"https://api.github.com/users/sherrym/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-12-21T19:06:27Z","updated_at":"2015-12-23T03:57:04Z","closed_at":null,"body":"I just upgraded TF to 469b3ddb4bb914a02f496748dd4ee5dbcbd7fce0 and I'm now getting an error importing the inception v3 model provided at https://storage.googleapis.com/download.tensorflow.org/models/inception_dec_2015.zip\r\n\r\nI didn't have this problem before the upgrade. Here is the error\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"test.py\", line 7, in <module>\r\n    graph_def.ParseFromString(fileContent)\r\ngoogle.protobuf.message.DecodeError: Error parsing message\r\n```\r\n\r\nAnd this is the code I'm using\r\n\r\n```python\r\nimport tensorflow as tf\r\n\r\nwith open(\"tensorflow_inception_graph.pb\", mode='rb') as f:\r\n  fileContent = f.read()\r\ngraph_def = tf.GraphDef()\r\ngraph_def.ParseFromString(fileContent)\r\n\r\ninput_layer = tf.placeholder(\"float\", [1, 299, 299, 3])\r\ntf.import_graph_def(graph_def, input_map={ \"Mul\": input_layer })\r\n```"},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/166797858","html_url":"https://github.com/tensorflow/tensorflow/issues/582#issuecomment-166797858","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/582","id":166797858,"user":{"login":"ffmpbgrnn","id":4504507,"avatar_url":"https://avatars.githubusercontent.com/u/4504507?v=3","gravatar_id":"","url":"https://api.github.com/users/ffmpbgrnn","html_url":"https://github.com/ffmpbgrnn","followers_url":"https://api.github.com/users/ffmpbgrnn/followers","following_url":"https://api.github.com/users/ffmpbgrnn/following{/other_user}","gists_url":"https://api.github.com/users/ffmpbgrnn/gists{/gist_id}","starred_url":"https://api.github.com/users/ffmpbgrnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ffmpbgrnn/subscriptions","organizations_url":"https://api.github.com/users/ffmpbgrnn/orgs","repos_url":"https://api.github.com/users/ffmpbgrnn/repos","events_url":"https://api.github.com/users/ffmpbgrnn/events{/privacy}","received_events_url":"https://api.github.com/users/ffmpbgrnn/received_events","type":"User","site_admin":false},"created_at":"2015-12-23T03:57:04Z","updated_at":"2015-12-23T03:57:04Z","body":"@ry , I got a workaround by changing https://github.com/google/protobuf/blob/master/src/google/protobuf/io/coded_stream.h#L611 to `256 << 20` and then recompile."}}