{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4031","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4031/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4031/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4031/events","html_url":"https://github.com/tensorflow/tensorflow/issues/4031","id":173110230,"number":4031,"title":"SupervisedSession cannot run dict fetchs.","user":{"login":"coderXiangLi","id":8342490,"avatar_url":"https://avatars.githubusercontent.com/u/8342490?v=3","gravatar_id":"","url":"https://api.github.com/users/coderXiangLi","html_url":"https://github.com/coderXiangLi","followers_url":"https://api.github.com/users/coderXiangLi/followers","following_url":"https://api.github.com/users/coderXiangLi/following{/other_user}","gists_url":"https://api.github.com/users/coderXiangLi/gists{/gist_id}","starred_url":"https://api.github.com/users/coderXiangLi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coderXiangLi/subscriptions","organizations_url":"https://api.github.com/users/coderXiangLi/orgs","repos_url":"https://api.github.com/users/coderXiangLi/repos","events_url":"https://api.github.com/users/coderXiangLi/events{/privacy}","received_events_url":"https://api.github.com/users/coderXiangLi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"martinwicke","id":577277,"avatar_url":"https://avatars.githubusercontent.com/u/577277?v=3","gravatar_id":"","url":"https://api.github.com/users/martinwicke","html_url":"https://github.com/martinwicke","followers_url":"https://api.github.com/users/martinwicke/followers","following_url":"https://api.github.com/users/martinwicke/following{/other_user}","gists_url":"https://api.github.com/users/martinwicke/gists{/gist_id}","starred_url":"https://api.github.com/users/martinwicke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinwicke/subscriptions","organizations_url":"https://api.github.com/users/martinwicke/orgs","repos_url":"https://api.github.com/users/martinwicke/repos","events_url":"https://api.github.com/users/martinwicke/events{/privacy}","received_events_url":"https://api.github.com/users/martinwicke/received_events","type":"User","site_admin":false},"assignees":[{"login":"martinwicke","id":577277,"avatar_url":"https://avatars.githubusercontent.com/u/577277?v=3","gravatar_id":"","url":"https://api.github.com/users/martinwicke","html_url":"https://github.com/martinwicke","followers_url":"https://api.github.com/users/martinwicke/followers","following_url":"https://api.github.com/users/martinwicke/following{/other_user}","gists_url":"https://api.github.com/users/martinwicke/gists{/gist_id}","starred_url":"https://api.github.com/users/martinwicke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinwicke/subscriptions","organizations_url":"https://api.github.com/users/martinwicke/orgs","repos_url":"https://api.github.com/users/martinwicke/repos","events_url":"https://api.github.com/users/martinwicke/events{/privacy}","received_events_url":"https://api.github.com/users/martinwicke/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-08-25T04:10:21Z","updated_at":"2016-08-27T22:19:55Z","closed_at":null,"body":"### Installed from source, 0.10.0rc0.\r\n\r\n### `supervised_session.SupervisedSession`  under  `contrib.learn` cannot run dict fetchs:\r\n\r\n\r\n 1.Document says that it's same as `tf.Session.run()` and confused.  \r\n    \r\n    \tdef run(self, fetches, feed_dict=None, options=None, run_metadata=None):\r\n        \"\"\"Run ops in the supervised session.\r\n        \tThis method is completely compatible with the `tf.Session.run()` method.\r\n\r\n        \tArgs:\r\n          \tfetches: Same as `tf.Session.run()`.\r\n          \tfeed_dict: Same as `tf.Session.run()`.\r\n          \toptions: Same as `tf.Session.run()`.\r\n          \trun_metadata: Same as `tf.Session.run()`.\r\n\r\n        \tReturns:\r\n          \tSame as `tf.Session.run()`.\r\n        \t\"\"\"\r\n        \treturn self._sess.run(fetches, feed_dict=feed_dict, options=options,\r\n                              run_metadata=run_metadata)\r\n\r\n2.it is constructed with MonitoredSession, so it can only run `one` or a `list`.\r\n\t\r\n\t\tactual_fetches = {\r\n    \t\tcaller': fetches,\r\n    \t\tself._global_step_tensor: self._global_step_tensor,\r\n    \t\t'monitors': [_as_graph_element(f, self.graph) for f in monitor_fetches]\r\n  \t\t}\r\n\r\n\r\nCould you support for running a dict as tf.Session.run()? Or modify the document more clearly?\r\n"},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/242944015","html_url":"https://github.com/tensorflow/tensorflow/issues/4031#issuecomment-242944015","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/4031","id":242944015,"user":{"login":"martinwicke","id":577277,"avatar_url":"https://avatars.githubusercontent.com/u/577277?v=3","gravatar_id":"","url":"https://api.github.com/users/martinwicke","html_url":"https://github.com/martinwicke","followers_url":"https://api.github.com/users/martinwicke/followers","following_url":"https://api.github.com/users/martinwicke/following{/other_user}","gists_url":"https://api.github.com/users/martinwicke/gists{/gist_id}","starred_url":"https://api.github.com/users/martinwicke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinwicke/subscriptions","organizations_url":"https://api.github.com/users/martinwicke/orgs","repos_url":"https://api.github.com/users/martinwicke/repos","events_url":"https://api.github.com/users/martinwicke/events{/privacy}","received_events_url":"https://api.github.com/users/martinwicke/received_events","type":"User","site_admin":false},"created_at":"2016-08-27T22:19:55Z","updated_at":"2016-08-27T22:19:55Z","body":"@ispirmustafa this does look like a bug in the docstring (or a bug in MonitordSession), or are we misunderstanding this?"}}
{"actor":{"display_login":"martinwicke"}}