{"action":"created","comment":{"url":"https://api.github.com/repos/alan-krumholz/professional-services/pulls/comments/221022696","pull_request_review_id":159571901,"id":221022696,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMTAyMjY5Ng==","diff_hunk":"@@ -69,12 +60,40 @@ def get_features_target_tuple(features):\n     target = features.pop(TARGET_COLUMN, None)\n     return features, target\n \n+def load_image(image_path):\n+    \"\"\"Loads and process an image.\n+\n+    Args:\n+        image_path: Path to image.\n+\n+    Returns:\n+        tensor representing the image.\n+    \"\"\"\n+    image_string = tf.read_file(image_path)\n+    image_decoded = tf.image.decode_png(image_string,channels=3)\n+    image_resized = tf.image.resize_images(image_decoded, [224, 224])","path":"machine-learning/solutions/seismic_salt_detection/trainer/inputs.py","position":84,"original_position":44,"commit_id":"cd644fa1bdc9d89839bdb55e86ef2604c51afb7d","original_commit_id":"ff1deeed01800bf8983289efd118e724ae024830","user":{"login":"alan-krumholz","id":21314745,"node_id":"MDQ6VXNlcjIxMzE0NzQ1","avatar_url":"https://avatars1.githubusercontent.com/u/21314745?v=4","gravatar_id":"","url":"https://api.github.com/users/alan-krumholz","html_url":"https://github.com/alan-krumholz","followers_url":"https://api.github.com/users/alan-krumholz/followers","following_url":"https://api.github.com/users/alan-krumholz/following{/other_user}","gists_url":"https://api.github.com/users/alan-krumholz/gists{/gist_id}","starred_url":"https://api.github.com/users/alan-krumholz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alan-krumholz/subscriptions","organizations_url":"https://api.github.com/users/alan-krumholz/orgs","repos_url":"https://api.github.com/users/alan-krumholz/repos","events_url":"https://api.github.com/users/alan-krumholz/events{/privacy}","received_events_url":"https://api.github.com/users/alan-krumholz/received_events","type":"User","site_admin":false},"body":"will do","created_at":"2018-09-27T18:05:18Z","updated_at":"2018-09-27T18:05:18Z","html_url":"https://github.com/alan-krumholz/professional-services/pull/2#discussion_r221022696","pull_request_url":"https://api.github.com/repos/alan-krumholz/professional-services/pulls/2","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/alan-krumholz/professional-services/pulls/comments/221022696"},"html":{"href":"https://github.com/alan-krumholz/professional-services/pull/2#discussion_r221022696"},"pull_request":{"href":"https://api.github.com/repos/alan-krumholz/professional-services/pulls/2"}},"in_reply_to_id":220521267},"pull_request":{"url":"https://api.github.com/repos/alan-krumholz/professional-services/pulls/2","id":208996737,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4OTk2NzM3","html_url":"https://github.com/alan-krumholz/professional-services/pull/2","diff_url":"https://github.com/alan-krumholz/professional-services/pull/2.diff","patch_url":"https://github.com/alan-krumholz/professional-services/pull/2.patch","issue_url":"https://api.github.com/repos/alan-krumholz/professional-services/issues/2","number":2,"state":"open","locked":false,"title":"Salt Solution Code Review","user":{"login":"alan-krumholz","id":21314745,"node_id":"MDQ6VXNlcjIxMzE0NzQ1","avatar_url":"https://avatars1.githubusercontent.com/u/21314745?v=4","gravatar_id":"","url":"https://api.github.com/users/alan-krumholz","html_url":"https://github.com/alan-krumholz","followers_url":"https://api.github.com/users/alan-krumholz/followers","following_url":"https://api.github.com/users/alan-krumholz/following{/other_user}","gists_url":"https://api.github.com/users/alan-krumholz/gists{/gist_id}","starred_url":"https://api.github.com/users/alan-krumholz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alan-krumholz/subscriptions","organizations_url":"https://api.github.com/users/alan-krumholz/orgs","repos_url":"https://api.github.com/users/alan-krumholz/repos","events_url":"https://api.github.com/users/alan-krumholz/events{/privacy}","received_events_url":"https://api.github.com/users/alan-krumholz/received_events","type":"User","site_admin":false},"body":"Found minor error in the README file of the energy solution and I'm also fixing that error as part of this commit.\r\n\r\nCommiting changes to convert baseline solution into the saltt segmentation solution.","created_at":"2018-08-16T22:01:41Z","updated_at":"2018-09-27T18:05:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"def331946a5fa03d321f54597ac7d9b478c53893","assignee":{"login":"alan-krumholz","id":21314745,"node_id":"MDQ6VXNlcjIxMzE0NzQ1","avatar_url":"https://avatars1.githubusercontent.com/u/21314745?v=4","gravatar_id":"","url":"https://api.github.com/users/alan-krumholz","html_url":"https://github.com/alan-krumholz","followers_url":"https://api.github.com/users/alan-krumholz/followers","following_url":"https://api.github.com/users/alan-krumholz/following{/other_user}","gists_url":"https://api.github.com/users/alan-krumholz/gists{/gist_id}","starred_url":"https://api.github.com/users/alan-krumholz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alan-krumholz/subscriptions","organizations_url":"https://api.github.com/users/alan-krumholz/orgs","repos_url":"https://api.github.com/users/alan-krumholz/repos","events_url":"https://api.github.com/users/alan-krumholz/events{/privacy}","received_events_url":"https://api.github.com/users/alan-krumholz/received_events","type":"User","site_admin":false},"assignees":[{"login":"alan-krumholz","id":21314745,"node_id":"MDQ6VXNlcjIxMzE0NzQ1","avatar_url":"https://avatars1.githubusercontent.com/u/21314745?v=4","gravatar_id":"","url":"https://api.github.com/users/alan-krumholz","html_url":"https://github.com/alan-krumholz","followers_url":"https://api.github.com/users/alan-krumholz/followers","following_url":"https://api.github.com/users/alan-krumholz/following{/other_user}","gists_url":"https://api.github.com/users/alan-krumholz/gists{/gist_id}","starred_url":"https://api.github.com/users/alan-krumholz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alan-krumholz/subscriptions","organizations_url":"https://api.github.com/users/alan-krumholz/orgs","repos_url":"https://api.github.com/users/alan-krumholz/repos","events_url":"https://api.github.com/users/alan-krumholz/events{/privacy}","received_events_url":"https://api.github.com/users/alan-krumholz/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/alan-krumholz/professional-services/pulls/2/commits","review_comments_url":"https://api.github.com/repos/alan-krumholz/professional-services/pulls/2/comments","review_comment_url":"https://api.github.com/repos/alan-krumholz/professional-services/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alan-krumholz/professional-services/issues/2/comments","statuses_url":"https://api.github.com/repos/alan-krumholz/professional-services/statuses/cd644fa1bdc9d89839bdb55e86ef2604c51afb7d","head":{"label":"alan-krumholz:akrumholz-new_solution","ref":"akrumholz-new_solution","sha":"cd644fa1bdc9d89839bdb55e86ef2604c51afb7d","user":{"login":"alan-krumholz","id":21314745,"node_id":"MDQ6VXNlcjIxMzE0NzQ1","avatar_url":"https://avatars1.githubusercontent.com/u/21314745?v=4","gravatar_id":"","url":"https://api.github.com/users/alan-krumholz","html_url":"https://github.com/alan-krumholz","followers_url":"https://api.github.com/users/alan-krumholz/followers","following_url":"https://api.github.com/users/alan-krumholz/following{/other_user}","gists_url":"https://api.github.com/users/alan-krumholz/gists{/gist_id}","starred_url":"https://api.github.com/users/alan-krumholz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alan-krumholz/subscriptions","organizations_url":"https://api.github.com/users/alan-krumholz/orgs","repos_url":"https://api.github.com/users/alan-krumholz/repos","events_url":"https://api.github.com/users/alan-krumholz/events{/privacy}","received_events_url":"https://api.github.com/users/alan-krumholz/received_events","type":"User","site_admin":false},"repo":{"id":137785844,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc3ODU4NDQ=","name":"professional-services","full_name":"alan-krumholz/professional-services","private":false,"owner":{"login":"alan-krumholz","id":21314745,"node_id":"MDQ6VXNlcjIxMzE0NzQ1","avatar_url":"https://avatars1.githubusercontent.com/u/21314745?v=4","gravatar_id":"","url":"https://api.github.com/users/alan-krumholz","html_url":"https://github.com/alan-krumholz","followers_url":"https://api.github.com/users/alan-krumholz/followers","following_url":"https://api.github.com/users/alan-krumholz/following{/other_user}","gists_url":"https://api.github.com/users/alan-krumholz/gists{/gist_id}","starred_url":"https://api.github.com/users/alan-krumholz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alan-krumholz/subscriptions","organizations_url":"https://api.github.com/users/alan-krumholz/orgs","repos_url":"https://api.github.com/users/alan-krumholz/repos","events_url":"https://api.github.com/users/alan-krumholz/events{/privacy}","received_events_url":"https://api.github.com/users/alan-krumholz/received_events","type":"User","site_admin":false},"html_url":"https://github.com/alan-krumholz/professional-services","description":null,"fork":true,"url":"https://api.github.com/repos/alan-krumholz/professional-services","forks_url":"https://api.github.com/repos/alan-krumholz/professional-services/forks","keys_url":"https://api.github.com/repos/alan-krumholz/professional-services/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alan-krumholz/professional-services/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alan-krumholz/professional-services/teams","hooks_url":"https://api.github.com/repos/alan-krumholz/professional-services/hooks","issue_events_url":"https://api.github.com/repos/alan-krumholz/professional-services/issues/events{/number}","events_url":"https://api.github.com/repos/alan-krumholz/professional-services/events","assignees_url":"https://api.github.com/repos/alan-krumholz/professional-services/assignees{/user}","branches_url":"https://api.github.com/repos/alan-krumholz/professional-services/branches{/branch}","tags_url":"https://api.github.com/repos/alan-krumholz/professional-services/tags","blobs_url":"https://api.github.com/repos/alan-krumholz/professional-services/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alan-krumholz/professional-services/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alan-krumholz/professional-services/git/refs{/sha}","trees_url":"https://api.github.com/repos/alan-krumholz/professional-services/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alan-krumholz/professional-services/statuses/{sha}","languages_url":"https://api.github.com/repos/alan-krumholz/professional-services/languages","stargazers_url":"https://api.github.com/repos/alan-krumholz/professional-services/stargazers","contributors_url":"https://api.github.com/repos/alan-krumholz/professional-services/contributors","subscribers_url":"https://api.github.com/repos/alan-krumholz/professional-services/subscribers","subscription_url":"https://api.github.com/repos/alan-krumholz/professional-services/subscription","commits_url":"https://api.github.com/repos/alan-krumholz/professional-services/commits{/sha}","git_commits_url":"https://api.github.com/repos/alan-krumholz/professional-services/git/commits{/sha}","comments_url":"https://api.github.com/repos/alan-krumholz/professional-services/comments{/number}","issue_comment_url":"https://api.github.com/repos/alan-krumholz/professional-services/issues/comments{/number}","contents_url":"https://api.github.com/repos/alan-krumholz/professional-services/contents/{+path}","compare_url":"https://api.github.com/repos/alan-krumholz/professional-services/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alan-krumholz/professional-services/merges","archive_url":"https://api.github.com/repos/alan-krumholz/professional-services/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alan-krumholz/professional-services/downloads","issues_url":"https://api.github.com/repos/alan-krumholz/professional-services/issues{/number}","pulls_url":"https://api.github.com/repos/alan-krumholz/professional-services/pulls{/number}","milestones_url":"https://api.github.com/repos/alan-krumholz/professional-services/milestones{/number}","notifications_url":"https://api.github.com/repos/alan-krumholz/professional-services/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alan-krumholz/professional-services/labels{/name}","releases_url":"https://api.github.com/repos/alan-krumholz/professional-services/releases{/id}","deployments_url":"https://api.github.com/repos/alan-krumholz/professional-services/deployments","created_at":"2018-06-18T17:42:03Z","updated_at":"2018-08-16T21:30:47Z","pushed_at":"2018-09-27T17:42:20Z","git_url":"git://github.com/alan-krumholz/professional-services.git","ssh_url":"git@github.com:alan-krumholz/professional-services.git","clone_url":"https://github.com/alan-krumholz/professional-services.git","svn_url":"https://github.com/alan-krumholz/professional-services","homepage":null,"size":24885,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"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":1,"watchers":0,"default_branch":"master"}},"base":{"label":"alan-krumholz:master","ref":"master","sha":"9eae5cc54c722d3e46e28a488df062f5eb61dfd7","user":{"login":"alan-krumholz","id":21314745,"node_id":"MDQ6VXNlcjIxMzE0NzQ1","avatar_url":"https://avatars1.githubusercontent.com/u/21314745?v=4","gravatar_id":"","url":"https://api.github.com/users/alan-krumholz","html_url":"https://github.com/alan-krumholz","followers_url":"https://api.github.com/users/alan-krumholz/followers","following_url":"https://api.github.com/users/alan-krumholz/following{/other_user}","gists_url":"https://api.github.com/users/alan-krumholz/gists{/gist_id}","starred_url":"https://api.github.com/users/alan-krumholz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alan-krumholz/subscriptions","organizations_url":"https://api.github.com/users/alan-krumholz/orgs","repos_url":"https://api.github.com/users/alan-krumholz/repos","events_url":"https://api.github.com/users/alan-krumholz/events{/privacy}","received_events_url":"https://api.github.com/users/alan-krumholz/received_events","type":"User","site_admin":false},"repo":{"id":137785844,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc3ODU4NDQ=","name":"professional-services","full_name":"alan-krumholz/professional-services","private":false,"owner":{"login":"alan-krumholz","id":21314745,"node_id":"MDQ6VXNlcjIxMzE0NzQ1","avatar_url":"https://avatars1.githubusercontent.com/u/21314745?v=4","gravatar_id":"","url":"https://api.github.com/users/alan-krumholz","html_url":"https://github.com/alan-krumholz","followers_url":"https://api.github.com/users/alan-krumholz/followers","following_url":"https://api.github.com/users/alan-krumholz/following{/other_user}","gists_url":"https://api.github.com/users/alan-krumholz/gists{/gist_id}","starred_url":"https://api.github.com/users/alan-krumholz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alan-krumholz/subscriptions","organizations_url":"https://api.github.com/users/alan-krumholz/orgs","repos_url":"https://api.github.com/users/alan-krumholz/repos","events_url":"https://api.github.com/users/alan-krumholz/events{/privacy}","received_events_url":"https://api.github.com/users/alan-krumholz/received_events","type":"User","site_admin":false},"html_url":"https://github.com/alan-krumholz/professional-services","description":null,"fork":true,"url":"https://api.github.com/repos/alan-krumholz/professional-services","forks_url":"https://api.github.com/repos/alan-krumholz/professional-services/forks","keys_url":"https://api.github.com/repos/alan-krumholz/professional-services/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alan-krumholz/professional-services/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alan-krumholz/professional-services/teams","hooks_url":"https://api.github.com/repos/alan-krumholz/professional-services/hooks","issue_events_url":"https://api.github.com/repos/alan-krumholz/professional-services/issues/events{/number}","events_url":"https://api.github.com/repos/alan-krumholz/professional-services/events","assignees_url":"https://api.github.com/repos/alan-krumholz/professional-services/assignees{/user}","branches_url":"https://api.github.com/repos/alan-krumholz/professional-services/branches{/branch}","tags_url":"https://api.github.com/repos/alan-krumholz/professional-services/tags","blobs_url":"https://api.github.com/repos/alan-krumholz/professional-services/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alan-krumholz/professional-services/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alan-krumholz/professional-services/git/refs{/sha}","trees_url":"https://api.github.com/repos/alan-krumholz/professional-services/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alan-krumholz/professional-services/statuses/{sha}","languages_url":"https://api.github.com/repos/alan-krumholz/professional-services/languages","stargazers_url":"https://api.github.com/repos/alan-krumholz/professional-services/stargazers","contributors_url":"https://api.github.com/repos/alan-krumholz/professional-services/contributors","subscribers_url":"https://api.github.com/repos/alan-krumholz/professional-services/subscribers","subscription_url":"https://api.github.com/repos/alan-krumholz/professional-services/subscription","commits_url":"https://api.github.com/repos/alan-krumholz/professional-services/commits{/sha}","git_commits_url":"https://api.github.com/repos/alan-krumholz/professional-services/git/commits{/sha}","comments_url":"https://api.github.com/repos/alan-krumholz/professional-services/comments{/number}","issue_comment_url":"https://api.github.com/repos/alan-krumholz/professional-services/issues/comments{/number}","contents_url":"https://api.github.com/repos/alan-krumholz/professional-services/contents/{+path}","compare_url":"https://api.github.com/repos/alan-krumholz/professional-services/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alan-krumholz/professional-services/merges","archive_url":"https://api.github.com/repos/alan-krumholz/professional-services/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alan-krumholz/professional-services/downloads","issues_url":"https://api.github.com/repos/alan-krumholz/professional-services/issues{/number}","pulls_url":"https://api.github.com/repos/alan-krumholz/professional-services/pulls{/number}","milestones_url":"https://api.github.com/repos/alan-krumholz/professional-services/milestones{/number}","notifications_url":"https://api.github.com/repos/alan-krumholz/professional-services/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alan-krumholz/professional-services/labels{/name}","releases_url":"https://api.github.com/repos/alan-krumholz/professional-services/releases{/id}","deployments_url":"https://api.github.com/repos/alan-krumholz/professional-services/deployments","created_at":"2018-06-18T17:42:03Z","updated_at":"2018-08-16T21:30:47Z","pushed_at":"2018-09-27T17:42:20Z","git_url":"git://github.com/alan-krumholz/professional-services.git","ssh_url":"git@github.com:alan-krumholz/professional-services.git","clone_url":"https://github.com/alan-krumholz/professional-services.git","svn_url":"https://github.com/alan-krumholz/professional-services","homepage":null,"size":24885,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"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":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alan-krumholz/professional-services/pulls/2"},"html":{"href":"https://github.com/alan-krumholz/professional-services/pull/2"},"issue":{"href":"https://api.github.com/repos/alan-krumholz/professional-services/issues/2"},"comments":{"href":"https://api.github.com/repos/alan-krumholz/professional-services/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/alan-krumholz/professional-services/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/alan-krumholz/professional-services/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alan-krumholz/professional-services/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/alan-krumholz/professional-services/statuses/cd644fa1bdc9d89839bdb55e86ef2604c51afb7d"}},"author_association":"OWNER"}}
{"actor":{"display_login":"alan-krumholz"}}