{"action":"created","comment":{"url":"https://api.github.com/repos/tensorflow/models/pulls/comments/157826720","pull_request_review_id":84533680,"id":157826720,"diff_hunk":"@@ -21,6 +21,13 @@ python mnist.py\n The model will begin training and will automatically evaluate itself on the\n validation data.\n \n+Illustrative unittests and benchmarks can be run with:\n+\n+```\n+python mnist_test.py\n+python mnist_test.py --benchmarks=.\n+```\n+\n ## Exporting the model","path":"official/mnist/README.md","position":11,"original_position":11,"commit_id":"1a83863dea1bc1b9efa02e972438e051aa4ae1bf","original_commit_id":"1a83863dea1bc1b9efa02e972438e051aa4ae1bf","user":{"login":"k-w-w","id":31663267,"avatar_url":"https://avatars2.githubusercontent.com/u/31663267?v=4","gravatar_id":"","url":"https://api.github.com/users/k-w-w","html_url":"https://github.com/k-w-w","followers_url":"https://api.github.com/users/k-w-w/followers","following_url":"https://api.github.com/users/k-w-w/following{/other_user}","gists_url":"https://api.github.com/users/k-w-w/gists{/gist_id}","starred_url":"https://api.github.com/users/k-w-w/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k-w-w/subscriptions","organizations_url":"https://api.github.com/users/k-w-w/orgs","repos_url":"https://api.github.com/users/k-w-w/repos","events_url":"https://api.github.com/users/k-w-w/events{/privacy}","received_events_url":"https://api.github.com/users/k-w-w/received_events","type":"User","site_admin":false},"body":"Can you change `image_raw` to `image` in the snippet below?","created_at":"2017-12-19T17:47:36Z","updated_at":"2017-12-19T17:47:36Z","html_url":"https://github.com/tensorflow/models/pull/3024#discussion_r157826720","pull_request_url":"https://api.github.com/repos/tensorflow/models/pulls/3024","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/tensorflow/models/pulls/comments/157826720"},"html":{"href":"https://github.com/tensorflow/models/pull/3024#discussion_r157826720"},"pull_request":{"href":"https://api.github.com/repos/tensorflow/models/pulls/3024"}}},"pull_request":{"url":"https://api.github.com/repos/tensorflow/models/pulls/3024","id":159057026,"html_url":"https://github.com/tensorflow/models/pull/3024","diff_url":"https://github.com/tensorflow/models/pull/3024.diff","patch_url":"https://github.com/tensorflow/models/pull/3024.patch","issue_url":"https://api.github.com/repos/tensorflow/models/issues/3024","number":3024,"state":"open","locked":false,"title":"[mnist]: Updates","user":{"login":"asimshankar","id":16018,"avatar_url":"https://avatars2.githubusercontent.com/u/16018?v=4","gravatar_id":"","url":"https://api.github.com/users/asimshankar","html_url":"https://github.com/asimshankar","followers_url":"https://api.github.com/users/asimshankar/followers","following_url":"https://api.github.com/users/asimshankar/following{/other_user}","gists_url":"https://api.github.com/users/asimshankar/gists{/gist_id}","starred_url":"https://api.github.com/users/asimshankar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asimshankar/subscriptions","organizations_url":"https://api.github.com/users/asimshankar/orgs","repos_url":"https://api.github.com/users/asimshankar/repos","events_url":"https://api.github.com/users/asimshankar/events{/privacy}","received_events_url":"https://api.github.com/users/asimshankar/received_events","type":"User","site_admin":false},"body":"- Use the object-oriented tf.layers API instead of the functional one.\r\n  The object-oriented API is particularly useful when using the model\r\n  with eager execution.\r\n- Update unittest to train, evaluate, and predict using the model.\r\n- Add a micro-benchmark for measuring step-time.\r\n  The parameters (batch_size, num_steps etc.) have NOT been tuned,\r\n  the purpose with this code is mostly to illustrate how model\r\n  benchmarks may be written.\r\n\r\nThese changes are made as a step towards consolidating model definitions\r\nfor different TensorFlow features (like eager execution and support for\r\nTPUs in\r\nhttps://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/eager/python/examples/mnist\r\nand\r\nhttps://github.com/tensorflow/tpu-demos/tree/master/cloud_tpu/models/mnist)\r\n\r\nCC @martinwicke @jhseu @ispirmustafa ","created_at":"2017-12-19T01:15:43Z","updated_at":"2017-12-19T17:47:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d6859f418a3bb96feef1c6013d4713ae59f2e713","assignee":null,"assignees":[],"requested_reviewers":[{"login":"nealwu","id":726075,"avatar_url":"https://avatars3.githubusercontent.com/u/726075?v=4","gravatar_id":"","url":"https://api.github.com/users/nealwu","html_url":"https://github.com/nealwu","followers_url":"https://api.github.com/users/nealwu/followers","following_url":"https://api.github.com/users/nealwu/following{/other_user}","gists_url":"https://api.github.com/users/nealwu/gists{/gist_id}","starred_url":"https://api.github.com/users/nealwu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nealwu/subscriptions","organizations_url":"https://api.github.com/users/nealwu/orgs","repos_url":"https://api.github.com/users/nealwu/repos","events_url":"https://api.github.com/users/nealwu/events{/privacy}","received_events_url":"https://api.github.com/users/nealwu/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/tensorflow/models/pulls/3024/commits","review_comments_url":"https://api.github.com/repos/tensorflow/models/pulls/3024/comments","review_comment_url":"https://api.github.com/repos/tensorflow/models/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tensorflow/models/issues/3024/comments","statuses_url":"https://api.github.com/repos/tensorflow/models/statuses/1a83863dea1bc1b9efa02e972438e051aa4ae1bf","head":{"label":"asimshankar:mnist","ref":"mnist","sha":"1a83863dea1bc1b9efa02e972438e051aa4ae1bf","user":{"login":"asimshankar","id":16018,"avatar_url":"https://avatars2.githubusercontent.com/u/16018?v=4","gravatar_id":"","url":"https://api.github.com/users/asimshankar","html_url":"https://github.com/asimshankar","followers_url":"https://api.github.com/users/asimshankar/followers","following_url":"https://api.github.com/users/asimshankar/following{/other_user}","gists_url":"https://api.github.com/users/asimshankar/gists{/gist_id}","starred_url":"https://api.github.com/users/asimshankar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asimshankar/subscriptions","organizations_url":"https://api.github.com/users/asimshankar/orgs","repos_url":"https://api.github.com/users/asimshankar/repos","events_url":"https://api.github.com/users/asimshankar/events{/privacy}","received_events_url":"https://api.github.com/users/asimshankar/received_events","type":"User","site_admin":false},"repo":{"id":79400176,"name":"models","full_name":"asimshankar/models","owner":{"login":"asimshankar","id":16018,"avatar_url":"https://avatars2.githubusercontent.com/u/16018?v=4","gravatar_id":"","url":"https://api.github.com/users/asimshankar","html_url":"https://github.com/asimshankar","followers_url":"https://api.github.com/users/asimshankar/followers","following_url":"https://api.github.com/users/asimshankar/following{/other_user}","gists_url":"https://api.github.com/users/asimshankar/gists{/gist_id}","starred_url":"https://api.github.com/users/asimshankar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asimshankar/subscriptions","organizations_url":"https://api.github.com/users/asimshankar/orgs","repos_url":"https://api.github.com/users/asimshankar/repos","events_url":"https://api.github.com/users/asimshankar/events{/privacy}","received_events_url":"https://api.github.com/users/asimshankar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/asimshankar/models","description":"Models built with TensorFlow","fork":true,"url":"https://api.github.com/repos/asimshankar/models","forks_url":"https://api.github.com/repos/asimshankar/models/forks","keys_url":"https://api.github.com/repos/asimshankar/models/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asimshankar/models/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asimshankar/models/teams","hooks_url":"https://api.github.com/repos/asimshankar/models/hooks","issue_events_url":"https://api.github.com/repos/asimshankar/models/issues/events{/number}","events_url":"https://api.github.com/repos/asimshankar/models/events","assignees_url":"https://api.github.com/repos/asimshankar/models/assignees{/user}","branches_url":"https://api.github.com/repos/asimshankar/models/branches{/branch}","tags_url":"https://api.github.com/repos/asimshankar/models/tags","blobs_url":"https://api.github.com/repos/asimshankar/models/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asimshankar/models/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asimshankar/models/git/refs{/sha}","trees_url":"https://api.github.com/repos/asimshankar/models/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asimshankar/models/statuses/{sha}","languages_url":"https://api.github.com/repos/asimshankar/models/languages","stargazers_url":"https://api.github.com/repos/asimshankar/models/stargazers","contributors_url":"https://api.github.com/repos/asimshankar/models/contributors","subscribers_url":"https://api.github.com/repos/asimshankar/models/subscribers","subscription_url":"https://api.github.com/repos/asimshankar/models/subscription","commits_url":"https://api.github.com/repos/asimshankar/models/commits{/sha}","git_commits_url":"https://api.github.com/repos/asimshankar/models/git/commits{/sha}","comments_url":"https://api.github.com/repos/asimshankar/models/comments{/number}","issue_comment_url":"https://api.github.com/repos/asimshankar/models/issues/comments{/number}","contents_url":"https://api.github.com/repos/asimshankar/models/contents/{+path}","compare_url":"https://api.github.com/repos/asimshankar/models/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asimshankar/models/merges","archive_url":"https://api.github.com/repos/asimshankar/models/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asimshankar/models/downloads","issues_url":"https://api.github.com/repos/asimshankar/models/issues{/number}","pulls_url":"https://api.github.com/repos/asimshankar/models/pulls{/number}","milestones_url":"https://api.github.com/repos/asimshankar/models/milestones{/number}","notifications_url":"https://api.github.com/repos/asimshankar/models/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asimshankar/models/labels{/name}","releases_url":"https://api.github.com/repos/asimshankar/models/releases{/id}","deployments_url":"https://api.github.com/repos/asimshankar/models/deployments","created_at":"2017-01-19T00:49:50Z","updated_at":"2017-01-19T00:49:54Z","pushed_at":"2017-12-19T01:14:22Z","git_url":"git://github.com/asimshankar/models.git","ssh_url":"git@github.com:asimshankar/models.git","clone_url":"https://github.com/asimshankar/models.git","svn_url":"https://github.com/asimshankar/models","homepage":null,"size":314347,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tensorflow:master","ref":"master","sha":"5a1faffdd4ab5336d5075dabde130fd8864a5c27","user":{"login":"tensorflow","id":15658638,"avatar_url":"https://avatars1.githubusercontent.com/u/15658638?v=4","gravatar_id":"","url":"https://api.github.com/users/tensorflow","html_url":"https://github.com/tensorflow","followers_url":"https://api.github.com/users/tensorflow/followers","following_url":"https://api.github.com/users/tensorflow/following{/other_user}","gists_url":"https://api.github.com/users/tensorflow/gists{/gist_id}","starred_url":"https://api.github.com/users/tensorflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tensorflow/subscriptions","organizations_url":"https://api.github.com/users/tensorflow/orgs","repos_url":"https://api.github.com/users/tensorflow/repos","events_url":"https://api.github.com/users/tensorflow/events{/privacy}","received_events_url":"https://api.github.com/users/tensorflow/received_events","type":"Organization","site_admin":false},"repo":{"id":51117837,"name":"models","full_name":"tensorflow/models","owner":{"login":"tensorflow","id":15658638,"avatar_url":"https://avatars1.githubusercontent.com/u/15658638?v=4","gravatar_id":"","url":"https://api.github.com/users/tensorflow","html_url":"https://github.com/tensorflow","followers_url":"https://api.github.com/users/tensorflow/followers","following_url":"https://api.github.com/users/tensorflow/following{/other_user}","gists_url":"https://api.github.com/users/tensorflow/gists{/gist_id}","starred_url":"https://api.github.com/users/tensorflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tensorflow/subscriptions","organizations_url":"https://api.github.com/users/tensorflow/orgs","repos_url":"https://api.github.com/users/tensorflow/repos","events_url":"https://api.github.com/users/tensorflow/events{/privacy}","received_events_url":"https://api.github.com/users/tensorflow/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tensorflow/models","description":"Models and examples built with TensorFlow","fork":false,"url":"https://api.github.com/repos/tensorflow/models","forks_url":"https://api.github.com/repos/tensorflow/models/forks","keys_url":"https://api.github.com/repos/tensorflow/models/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tensorflow/models/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tensorflow/models/teams","hooks_url":"https://api.github.com/repos/tensorflow/models/hooks","issue_events_url":"https://api.github.com/repos/tensorflow/models/issues/events{/number}","events_url":"https://api.github.com/repos/tensorflow/models/events","assignees_url":"https://api.github.com/repos/tensorflow/models/assignees{/user}","branches_url":"https://api.github.com/repos/tensorflow/models/branches{/branch}","tags_url":"https://api.github.com/repos/tensorflow/models/tags","blobs_url":"https://api.github.com/repos/tensorflow/models/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tensorflow/models/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tensorflow/models/git/refs{/sha}","trees_url":"https://api.github.com/repos/tensorflow/models/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tensorflow/models/statuses/{sha}","languages_url":"https://api.github.com/repos/tensorflow/models/languages","stargazers_url":"https://api.github.com/repos/tensorflow/models/stargazers","contributors_url":"https://api.github.com/repos/tensorflow/models/contributors","subscribers_url":"https://api.github.com/repos/tensorflow/models/subscribers","subscription_url":"https://api.github.com/repos/tensorflow/models/subscription","commits_url":"https://api.github.com/repos/tensorflow/models/commits{/sha}","git_commits_url":"https://api.github.com/repos/tensorflow/models/git/commits{/sha}","comments_url":"https://api.github.com/repos/tensorflow/models/comments{/number}","issue_comment_url":"https://api.github.com/repos/tensorflow/models/issues/comments{/number}","contents_url":"https://api.github.com/repos/tensorflow/models/contents/{+path}","compare_url":"https://api.github.com/repos/tensorflow/models/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tensorflow/models/merges","archive_url":"https://api.github.com/repos/tensorflow/models/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tensorflow/models/downloads","issues_url":"https://api.github.com/repos/tensorflow/models/issues{/number}","pulls_url":"https://api.github.com/repos/tensorflow/models/pulls{/number}","milestones_url":"https://api.github.com/repos/tensorflow/models/milestones{/number}","notifications_url":"https://api.github.com/repos/tensorflow/models/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tensorflow/models/labels{/name}","releases_url":"https://api.github.com/repos/tensorflow/models/releases{/id}","deployments_url":"https://api.github.com/repos/tensorflow/models/deployments","created_at":"2016-02-05T01:15:20Z","updated_at":"2017-12-19T17:45:14Z","pushed_at":"2017-12-19T15:54:46Z","git_url":"git://github.com/tensorflow/models.git","ssh_url":"git@github.com:tensorflow/models.git","clone_url":"https://github.com/tensorflow/models.git","svn_url":"https://github.com/tensorflow/models","homepage":"","size":314350,"stargazers_count":25433,"watchers_count":25433,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12625,"mirror_url":null,"archived":false,"open_issues_count":611,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":12625,"open_issues":611,"watchers":25433,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tensorflow/models/pulls/3024"},"html":{"href":"https://github.com/tensorflow/models/pull/3024"},"issue":{"href":"https://api.github.com/repos/tensorflow/models/issues/3024"},"comments":{"href":"https://api.github.com/repos/tensorflow/models/issues/3024/comments"},"review_comments":{"href":"https://api.github.com/repos/tensorflow/models/pulls/3024/comments"},"review_comment":{"href":"https://api.github.com/repos/tensorflow/models/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tensorflow/models/pulls/3024/commits"},"statuses":{"href":"https://api.github.com/repos/tensorflow/models/statuses/1a83863dea1bc1b9efa02e972438e051aa4ae1bf"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"k-w-w"}}