{"action":"created","issue":{"url":"https://api.github.com/repos/ethereon/caffe-tensorflow/issues/10","labels_url":"https://api.github.com/repos/ethereon/caffe-tensorflow/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/ethereon/caffe-tensorflow/issues/10/comments","events_url":"https://api.github.com/repos/ethereon/caffe-tensorflow/issues/10/events","html_url":"https://github.com/ethereon/caffe-tensorflow/issues/10","id":122371577,"number":10,"title":"Incompatibility with protocol buffer 3.0.0a4","user":{"login":"leconteur","id":1876772,"avatar_url":"https://avatars.githubusercontent.com/u/1876772?v=3","gravatar_id":"","url":"https://api.github.com/users/leconteur","html_url":"https://github.com/leconteur","followers_url":"https://api.github.com/users/leconteur/followers","following_url":"https://api.github.com/users/leconteur/following{/other_user}","gists_url":"https://api.github.com/users/leconteur/gists{/gist_id}","starred_url":"https://api.github.com/users/leconteur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leconteur/subscriptions","organizations_url":"https://api.github.com/users/leconteur/orgs","repos_url":"https://api.github.com/users/leconteur/repos","events_url":"https://api.github.com/users/leconteur/events{/privacy}","received_events_url":"https://api.github.com/users/leconteur/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-15T21:31:45Z","updated_at":"2015-12-26T15:58:06Z","closed_at":"2015-12-16T16:31:31Z","body":"I updated tensorflow, which updated protocol buffer to version 3.0.0a4. I can't import any model anymore. \r\n\r\nTo reproduce the bug, go in the caffe-tensorflow/caffe folder, and execute the following code:\r\n\r\n    python\r\n    Python 2.7.10 (default, Jul 13 2015, 12:05:58) \r\n    [GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin\r\n    Type \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n    >>> from google import protobuf\r\n    >>> protobuf.__version__\r\n    '3.0.0a4'\r\n    >>> import caffepb\r\n    Traceback (most recent call last):\r\n      File \"<stdin>\", line 1, in <module>\r\n      File \"caffepb.py\", line 28, in <module>\r\n            type=None),\r\n      File \"/Users/olivier/pythonvenv/tf/lib/python2.7/site-packages/google/protobuf/descriptor.py\", line 652, in __new__\r\n        _message.Message._CheckCalledFromGeneratedFile()\r\n    TypeError: Descriptors should not be created directly, but only retrieved from their parent.\r\n    >>> exit()"},"comment":{"url":"https://api.github.com/repos/ethereon/caffe-tensorflow/issues/comments/167338126","html_url":"https://github.com/ethereon/caffe-tensorflow/issues/10#issuecomment-167338126","issue_url":"https://api.github.com/repos/ethereon/caffe-tensorflow/issues/10","id":167338126,"user":{"login":"devashishshankar","id":980954,"avatar_url":"https://avatars.githubusercontent.com/u/980954?v=3","gravatar_id":"","url":"https://api.github.com/users/devashishshankar","html_url":"https://github.com/devashishshankar","followers_url":"https://api.github.com/users/devashishshankar/followers","following_url":"https://api.github.com/users/devashishshankar/following{/other_user}","gists_url":"https://api.github.com/users/devashishshankar/gists{/gist_id}","starred_url":"https://api.github.com/users/devashishshankar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devashishshankar/subscriptions","organizations_url":"https://api.github.com/users/devashishshankar/orgs","repos_url":"https://api.github.com/users/devashishshankar/repos","events_url":"https://api.github.com/users/devashishshankar/events{/privacy}","received_events_url":"https://api.github.com/users/devashishshankar/received_events","type":"User","site_admin":false},"created_at":"2015-12-26T15:58:05Z","updated_at":"2015-12-26T15:58:05Z","body":"Hi, I'm getting the exact same issue. I did a fresh install of tensorflow.\r\n@leconteur how did you fix this?\r\n\r\nThanks!"}}