{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/models/issues/2861","repository_url":"https://api.github.com/repos/tensorflow/models","labels_url":"https://api.github.com/repos/tensorflow/models/issues/2861/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/models/issues/2861/comments","events_url":"https://api.github.com/repos/tensorflow/models/issues/2861/events","html_url":"https://github.com/tensorflow/models/issues/2861","id":275867476,"number":2861,"title":"Error while exporting inference graph.","user":{"login":"Vardan95","id":6899551,"avatar_url":"https://avatars0.githubusercontent.com/u/6899551?v=4","gravatar_id":"","url":"https://api.github.com/users/Vardan95","html_url":"https://github.com/Vardan95","followers_url":"https://api.github.com/users/Vardan95/followers","following_url":"https://api.github.com/users/Vardan95/following{/other_user}","gists_url":"https://api.github.com/users/Vardan95/gists{/gist_id}","starred_url":"https://api.github.com/users/Vardan95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vardan95/subscriptions","organizations_url":"https://api.github.com/users/Vardan95/orgs","repos_url":"https://api.github.com/users/Vardan95/repos","events_url":"https://api.github.com/users/Vardan95/events{/privacy}","received_events_url":"https://api.github.com/users/Vardan95/received_events","type":"User","site_admin":false},"labels":[{"id":389681501,"url":"https://api.github.com/repos/tensorflow/models/labels/stat:contributions%20welcome","name":"stat:contributions welcome","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2017-11-21T21:35:22Z","updated_at":"2018-02-03T15:33:50Z","closed_at":null,"author_association":"NONE","body":"After pulling repo (0cc986287ca655ac0c675870a22ea90fdb3c4ece) got an error on object_detection/export_inference_graph.py call.\r\nError message: \r\n ```\r\n File \"/home/ubuntu/models/research/object_detection/exporter.py\", line 72, in \r\n   freeze_graph_with_def_protos optimize_tensor_layout=True)                                               \r\nValueError: Protocol message RewriterConfig has no \"optimize_tensor_layout\" field\r\n```\r\nTF version: latest nightly build"},"comment":{"url":"https://api.github.com/repos/tensorflow/models/issues/comments/362822751","html_url":"https://github.com/tensorflow/models/issues/2861#issuecomment-362822751","issue_url":"https://api.github.com/repos/tensorflow/models/issues/2861","id":362822751,"user":{"login":"frostell","id":9380003,"avatar_url":"https://avatars1.githubusercontent.com/u/9380003?v=4","gravatar_id":"","url":"https://api.github.com/users/frostell","html_url":"https://github.com/frostell","followers_url":"https://api.github.com/users/frostell/followers","following_url":"https://api.github.com/users/frostell/following{/other_user}","gists_url":"https://api.github.com/users/frostell/gists{/gist_id}","starred_url":"https://api.github.com/users/frostell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frostell/subscriptions","organizations_url":"https://api.github.com/users/frostell/orgs","repos_url":"https://api.github.com/users/frostell/repos","events_url":"https://api.github.com/users/frostell/events{/privacy}","received_events_url":"https://api.github.com/users/frostell/received_events","type":"User","site_admin":false},"created_at":"2018-02-03T15:33:50Z","updated_at":"2018-02-03T15:33:50Z","author_association":"NONE","body":"ok, seems like the RewriterConfig has been changed in tensorflow 1.5 and the small modification detailed above will make it brake in the same manner but with the opposite result (I had to change back from the small mod when I updated to 1.5)\r\n\r\nwhat will work is:\r\n\r\nTensorflow version 1.4 \r\n\"optimize_tensor_layout\" on line 72 in exporter.py\r\n\r\nTensorflow version 1.5 \r\n\"layout_optimizer\" on line 72 in exporter.py\r\n"}}
{"actor":{"display_login":"frostell"}}