{"action":"created","comment":{"url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/pulls/comments/206906883","pull_request_review_id":142399435,"id":206906883,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNjkwNjg4Mw==","diff_hunk":"@@ -0,0 +1,123 @@\n+# Copyright 2017 The TensorFlow Authors. All Rights Reserved.\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License.\n+# You may obtain a copy of the License at\n+#\n+#     http://www.apache.org/licenses/LICENSE-2.0\n+#\n+# Unless required by applicable law or agreed to in writing, software\n+# distributed under the License is distributed on an \"AS IS\" BASIS,\n+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+# See the License for the specific language governing permissions and\n+# limitations under the License.\n+# ==============================================================================\n+\"\"\"Read CIFAR-10 data from pickled numpy arrays and writes TFRecords.\n+\n+Generates tf.train.Example protos and writes them to TFRecord files from the\n+python version of the CIFAR-10 dataset downloaded from\n+https://www.cs.toronto.edu/~kriz/cifar.html.\n+\"\"\"\n+\n+from __future__ import absolute_import\n+from __future__ import division\n+from __future__ import print_function\n+\n+import argparse\n+import os\n+import sys\n+\n+import tarfile","path":"advanced_functionality/tensorflow_bring_your_own/utils/generate_cifar10_tfrecords.py","position":30,"original_position":30,"commit_id":"0c4c63e9ca2bd210baed2a0ad7ec925a0b564bb4","original_commit_id":"0c4c63e9ca2bd210baed2a0ad7ec925a0b564bb4","user":{"login":"mvsusp","id":142074,"node_id":"MDQ6VXNlcjE0MjA3NA==","avatar_url":"https://avatars0.githubusercontent.com/u/142074?v=4","gravatar_id":"","url":"https://api.github.com/users/mvsusp","html_url":"https://github.com/mvsusp","followers_url":"https://api.github.com/users/mvsusp/followers","following_url":"https://api.github.com/users/mvsusp/following{/other_user}","gists_url":"https://api.github.com/users/mvsusp/gists{/gist_id}","starred_url":"https://api.github.com/users/mvsusp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvsusp/subscriptions","organizations_url":"https://api.github.com/users/mvsusp/orgs","repos_url":"https://api.github.com/users/mvsusp/repos","events_url":"https://api.github.com/users/mvsusp/events{/privacy}","received_events_url":"https://api.github.com/users/mvsusp/received_events","type":"User","site_admin":false},"body":"organize imports","created_at":"2018-08-01T14:40:56Z","updated_at":"2018-08-01T14:54:17Z","html_url":"https://github.com/awslabs/amazon-sagemaker-examples/pull/352#discussion_r206906883","pull_request_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/pulls/352","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/pulls/comments/206906883"},"html":{"href":"https://github.com/awslabs/amazon-sagemaker-examples/pull/352#discussion_r206906883"},"pull_request":{"href":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/pulls/352"}}},"pull_request":{"url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/pulls/352","id":205344834,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1MzQ0ODM0","html_url":"https://github.com/awslabs/amazon-sagemaker-examples/pull/352","diff_url":"https://github.com/awslabs/amazon-sagemaker-examples/pull/352.diff","patch_url":"https://github.com/awslabs/amazon-sagemaker-examples/pull/352.patch","issue_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/issues/352","number":352,"state":"open","locked":false,"title":"Tensorflow Bring Your Own Container","user":{"login":"ChoiByungWook","id":12059958,"node_id":"MDQ6VXNlcjEyMDU5OTU4","avatar_url":"https://avatars3.githubusercontent.com/u/12059958?v=4","gravatar_id":"","url":"https://api.github.com/users/ChoiByungWook","html_url":"https://github.com/ChoiByungWook","followers_url":"https://api.github.com/users/ChoiByungWook/followers","following_url":"https://api.github.com/users/ChoiByungWook/following{/other_user}","gists_url":"https://api.github.com/users/ChoiByungWook/gists{/gist_id}","starred_url":"https://api.github.com/users/ChoiByungWook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChoiByungWook/subscriptions","organizations_url":"https://api.github.com/users/ChoiByungWook/orgs","repos_url":"https://api.github.com/users/ChoiByungWook/repos","events_url":"https://api.github.com/users/ChoiByungWook/events{/privacy}","received_events_url":"https://api.github.com/users/ChoiByungWook/received_events","type":"User","site_admin":false},"body":"Adapted the scikit learn notebook.\r\n\r\nVanilla TensorFlow with TensorFlow Serving.","created_at":"2018-08-01T08:21:57Z","updated_at":"2018-08-01T14:54:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6cd43fe1574c52ebb26b1293dd5bd33d46fbd766","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/pulls/352/commits","review_comments_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/pulls/352/comments","review_comment_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/pulls/comments{/number}","comments_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/issues/352/comments","statuses_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/statuses/0c4c63e9ca2bd210baed2a0ad7ec925a0b564bb4","head":{"label":"ChoiByungWook:tf_byoc","ref":"tf_byoc","sha":"0c4c63e9ca2bd210baed2a0ad7ec925a0b564bb4","user":{"login":"ChoiByungWook","id":12059958,"node_id":"MDQ6VXNlcjEyMDU5OTU4","avatar_url":"https://avatars3.githubusercontent.com/u/12059958?v=4","gravatar_id":"","url":"https://api.github.com/users/ChoiByungWook","html_url":"https://github.com/ChoiByungWook","followers_url":"https://api.github.com/users/ChoiByungWook/followers","following_url":"https://api.github.com/users/ChoiByungWook/following{/other_user}","gists_url":"https://api.github.com/users/ChoiByungWook/gists{/gist_id}","starred_url":"https://api.github.com/users/ChoiByungWook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChoiByungWook/subscriptions","organizations_url":"https://api.github.com/users/ChoiByungWook/orgs","repos_url":"https://api.github.com/users/ChoiByungWook/repos","events_url":"https://api.github.com/users/ChoiByungWook/events{/privacy}","received_events_url":"https://api.github.com/users/ChoiByungWook/received_events","type":"User","site_admin":false},"repo":{"id":142620696,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI2MjA2OTY=","name":"amazon-sagemaker-examples","full_name":"ChoiByungWook/amazon-sagemaker-examples","owner":{"login":"ChoiByungWook","id":12059958,"node_id":"MDQ6VXNlcjEyMDU5OTU4","avatar_url":"https://avatars3.githubusercontent.com/u/12059958?v=4","gravatar_id":"","url":"https://api.github.com/users/ChoiByungWook","html_url":"https://github.com/ChoiByungWook","followers_url":"https://api.github.com/users/ChoiByungWook/followers","following_url":"https://api.github.com/users/ChoiByungWook/following{/other_user}","gists_url":"https://api.github.com/users/ChoiByungWook/gists{/gist_id}","starred_url":"https://api.github.com/users/ChoiByungWook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChoiByungWook/subscriptions","organizations_url":"https://api.github.com/users/ChoiByungWook/orgs","repos_url":"https://api.github.com/users/ChoiByungWook/repos","events_url":"https://api.github.com/users/ChoiByungWook/events{/privacy}","received_events_url":"https://api.github.com/users/ChoiByungWook/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ChoiByungWook/amazon-sagemaker-examples","description":"Example notebooks that show how to apply machine learning and deep learning in Amazon SageMaker","fork":true,"url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples","forks_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/forks","keys_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/teams","hooks_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/hooks","issue_events_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/issues/events{/number}","events_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/events","assignees_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/assignees{/user}","branches_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/branches{/branch}","tags_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/tags","blobs_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/git/refs{/sha}","trees_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/statuses/{sha}","languages_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/languages","stargazers_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/stargazers","contributors_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/contributors","subscribers_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/subscribers","subscription_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/subscription","commits_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/commits{/sha}","git_commits_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/git/commits{/sha}","comments_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/comments{/number}","issue_comment_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/issues/comments{/number}","contents_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/contents/{+path}","compare_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/merges","archive_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/downloads","issues_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/issues{/number}","pulls_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/pulls{/number}","milestones_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/milestones{/number}","notifications_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/labels{/name}","releases_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/releases{/id}","deployments_url":"https://api.github.com/repos/ChoiByungWook/amazon-sagemaker-examples/deployments","created_at":"2018-07-27T20:26:24Z","updated_at":"2018-07-27T20:26:27Z","pushed_at":"2018-08-01T08:17:55Z","git_url":"git://github.com/ChoiByungWook/amazon-sagemaker-examples.git","ssh_url":"git@github.com:ChoiByungWook/amazon-sagemaker-examples.git","clone_url":"https://github.com/ChoiByungWook/amazon-sagemaker-examples.git","svn_url":"https://github.com/ChoiByungWook/amazon-sagemaker-examples","homepage":"","size":5949,"stargazers_count":0,"watchers_count":0,"language":"Jupyter Notebook","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"awslabs:master","ref":"master","sha":"79c41429c5737b0423c155e1af15786a748d265e","user":{"login":"awslabs","id":3299148,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyOTkxNDg=","avatar_url":"https://avatars0.githubusercontent.com/u/3299148?v=4","gravatar_id":"","url":"https://api.github.com/users/awslabs","html_url":"https://github.com/awslabs","followers_url":"https://api.github.com/users/awslabs/followers","following_url":"https://api.github.com/users/awslabs/following{/other_user}","gists_url":"https://api.github.com/users/awslabs/gists{/gist_id}","starred_url":"https://api.github.com/users/awslabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awslabs/subscriptions","organizations_url":"https://api.github.com/users/awslabs/orgs","repos_url":"https://api.github.com/users/awslabs/repos","events_url":"https://api.github.com/users/awslabs/events{/privacy}","received_events_url":"https://api.github.com/users/awslabs/received_events","type":"Organization","site_admin":false},"repo":{"id":107937815,"node_id":"MDEwOlJlcG9zaXRvcnkxMDc5Mzc4MTU=","name":"amazon-sagemaker-examples","full_name":"awslabs/amazon-sagemaker-examples","owner":{"login":"awslabs","id":3299148,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyOTkxNDg=","avatar_url":"https://avatars0.githubusercontent.com/u/3299148?v=4","gravatar_id":"","url":"https://api.github.com/users/awslabs","html_url":"https://github.com/awslabs","followers_url":"https://api.github.com/users/awslabs/followers","following_url":"https://api.github.com/users/awslabs/following{/other_user}","gists_url":"https://api.github.com/users/awslabs/gists{/gist_id}","starred_url":"https://api.github.com/users/awslabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awslabs/subscriptions","organizations_url":"https://api.github.com/users/awslabs/orgs","repos_url":"https://api.github.com/users/awslabs/repos","events_url":"https://api.github.com/users/awslabs/events{/privacy}","received_events_url":"https://api.github.com/users/awslabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/awslabs/amazon-sagemaker-examples","description":"Example notebooks that show how to apply machine learning and deep learning in Amazon SageMaker","fork":false,"url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples","forks_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/forks","keys_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/teams","hooks_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/hooks","issue_events_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/issues/events{/number}","events_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/events","assignees_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/assignees{/user}","branches_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/branches{/branch}","tags_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/tags","blobs_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/git/refs{/sha}","trees_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/statuses/{sha}","languages_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/languages","stargazers_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/stargazers","contributors_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/contributors","subscribers_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/subscribers","subscription_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/subscription","commits_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/commits{/sha}","git_commits_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/git/commits{/sha}","comments_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/comments{/number}","issue_comment_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/issues/comments{/number}","contents_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/contents/{+path}","compare_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/merges","archive_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/downloads","issues_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/issues{/number}","pulls_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/pulls{/number}","milestones_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/milestones{/number}","notifications_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/labels{/name}","releases_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/releases{/id}","deployments_url":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/deployments","created_at":"2017-10-23T05:55:22Z","updated_at":"2018-08-01T14:26:27Z","pushed_at":"2018-08-01T08:21:58Z","git_url":"git://github.com/awslabs/amazon-sagemaker-examples.git","ssh_url":"git@github.com:awslabs/amazon-sagemaker-examples.git","clone_url":"https://github.com/awslabs/amazon-sagemaker-examples.git","svn_url":"https://github.com/awslabs/amazon-sagemaker-examples","homepage":"","size":5907,"stargazers_count":683,"watchers_count":683,"language":"Jupyter Notebook","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":424,"mirror_url":null,"archived":false,"open_issues_count":36,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":424,"open_issues":36,"watchers":683,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/pulls/352"},"html":{"href":"https://github.com/awslabs/amazon-sagemaker-examples/pull/352"},"issue":{"href":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/issues/352"},"comments":{"href":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/issues/352/comments"},"review_comments":{"href":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/pulls/352/comments"},"review_comment":{"href":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/pulls/352/commits"},"statuses":{"href":"https://api.github.com/repos/awslabs/amazon-sagemaker-examples/statuses/0c4c63e9ca2bd210baed2a0ad7ec925a0b564bb4"}},"author_association":"NONE"}}
{"actor":{"display_login":"mvsusp"}}