{"action":"created","issue":{"url":"https://api.github.com/repos/KhronosGroup/NNEF-Tools/issues/19","repository_url":"https://api.github.com/repos/KhronosGroup/NNEF-Tools","labels_url":"https://api.github.com/repos/KhronosGroup/NNEF-Tools/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/KhronosGroup/NNEF-Tools/issues/19/comments","events_url":"https://api.github.com/repos/KhronosGroup/NNEF-Tools/issues/19/events","html_url":"https://github.com/KhronosGroup/NNEF-Tools/issues/19","id":316946348,"number":19,"title":"How to export weights in TF -> NNEF converter.","user":{"login":"lcskrishna","id":6920620,"avatar_url":"https://avatars1.githubusercontent.com/u/6920620?v=4","gravatar_id":"","url":"https://api.github.com/users/lcskrishna","html_url":"https://github.com/lcskrishna","followers_url":"https://api.github.com/users/lcskrishna/followers","following_url":"https://api.github.com/users/lcskrishna/following{/other_user}","gists_url":"https://api.github.com/users/lcskrishna/gists{/gist_id}","starred_url":"https://api.github.com/users/lcskrishna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcskrishna/subscriptions","organizations_url":"https://api.github.com/users/lcskrishna/orgs","repos_url":"https://api.github.com/users/lcskrishna/repos","events_url":"https://api.github.com/users/lcskrishna/events{/privacy}","received_events_url":"https://api.github.com/users/lcskrishna/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-23T19:12:47Z","updated_at":"2018-04-23T22:05:07Z","closed_at":"2018-04-23T22:05:07Z","author_association":"NONE","body":"I am trying out the example given in converter/tensorflow/sample_export.py\r\n\r\nI was able to run the example given. \r\nAlso, I want to know is there any way that I can export the weights similar to the converter in caffe?\r\n\r\nNote: I tried modifying checkpoint= None to checkpoint = \"resnet50\", I got the following error:\r\n\r\n```\r\n% python sample_export.py\r\n\r\nTracing invocations... done\r\nTracing dependencies... done\r\nTraceback (most recent call last):\r\n  File \"sample_export.py\", line 41, in <module>\r\n    converter = tf2nnef.export_network(network, checkpoint)\r\n  File \"NNEF-Tools/converter/tensorflow/src/tf2nnef.py\", line 1335, in export_network\r\n    reader = tf.contrib.framework.load_checkpoint(checkpoint) if checkpoint is not None else None\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/framework/python/framework/checkpoint_utils.py\", line 63, in load_checkpoint\r\n    return train.NewCheckpointReader(filename)\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py\", line 110, in NewCheckpointReader\r\n    return CheckpointReader(compat.as_bytes(filepattern), status)\r\n  File \"/usr/lib/python2.7/contextlib.py\", line 24, in __exit__\r\n    self.gen.next()\r\n  File \"/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/errors_impl.py\", line 466, in raise_exception_on_not_ok_status\r\n    pywrap_tensorflow.TF_GetCode(status))\r\ntensorflow.python.framework.errors_impl.NotFoundError: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for resnet50\r\n\r\n```\r\n\r\nAppreciate any kind of help to export the weights.\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/KhronosGroup/NNEF-Tools/issues/comments/383737973","html_url":"https://github.com/KhronosGroup/NNEF-Tools/issues/19#issuecomment-383737973","issue_url":"https://api.github.com/repos/KhronosGroup/NNEF-Tools/issues/19","id":383737973,"user":{"login":"lcskrishna","id":6920620,"avatar_url":"https://avatars1.githubusercontent.com/u/6920620?v=4","gravatar_id":"","url":"https://api.github.com/users/lcskrishna","html_url":"https://github.com/lcskrishna","followers_url":"https://api.github.com/users/lcskrishna/followers","following_url":"https://api.github.com/users/lcskrishna/following{/other_user}","gists_url":"https://api.github.com/users/lcskrishna/gists{/gist_id}","starred_url":"https://api.github.com/users/lcskrishna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcskrishna/subscriptions","organizations_url":"https://api.github.com/users/lcskrishna/orgs","repos_url":"https://api.github.com/users/lcskrishna/repos","events_url":"https://api.github.com/users/lcskrishna/events{/privacy}","received_events_url":"https://api.github.com/users/lcskrishna/received_events","type":"User","site_admin":false},"created_at":"2018-04-23T22:05:07Z","updated_at":"2018-04-23T22:05:07Z","author_association":"NONE","body":"@gyenesvi \r\nThanks for the quick reply. It works. "}}
{"actor":{"display_login":"lcskrishna"}}