{"action":"created","comment":{"url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/pulls/comments/171517875","pull_request_review_id":100381608,"id":171517875,"diff_hunk":"@@ -0,0 +1,43 @@\n+#\n+# Copyright (c) 2018 cTuning foundation.\n+# See CK COPYRIGHT.txt for copyright details.\n+#\n+# SPDX-License-Identifier: BSD-3-Clause.\n+# See CK LICENSE.txt for licensing details.\n+#\n+\n+import argparse\n+import os\n+\n+from caffe.proto import caffe_pb2\n+from google.protobuf import text_format  \n+\n+if __name__ == '__main__':\n+  parser = argparse.ArgumentParser()\n+  parser.add_argument('-m', '--model', action='store', dest='MODEL')\n+  params = parser.parse_args()\n+\n+  print('Postprocessing {} ...'.format(params.MODEL))\n+\n+  net = caffe_pb2.NetParameter()\n+  with open(params.MODEL, 'r') as f:\n+    text_format.Merge(f.read(), net)\n+\n+  # Adjust input layer\n+  # Currently it's supposed that there is only one input layer","path":"script/caffe2intel-i8/finalize_train_val_prototxt.py","position":null,"original_position":27,"commit_id":"35fa3a7f133ff3ab80edbe8f95559990199d19b7","original_commit_id":"ad973f44c249a494ccaaa7fa13ac2c9bf3a4c369","user":{"login":"Chunosov","id":22535028,"avatar_url":"https://avatars1.githubusercontent.com/u/22535028?v=4","gravatar_id":"","url":"https://api.github.com/users/Chunosov","html_url":"https://github.com/Chunosov","followers_url":"https://api.github.com/users/Chunosov/followers","following_url":"https://api.github.com/users/Chunosov/following{/other_user}","gists_url":"https://api.github.com/users/Chunosov/gists{/gist_id}","starred_url":"https://api.github.com/users/Chunosov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chunosov/subscriptions","organizations_url":"https://api.github.com/users/Chunosov/orgs","repos_url":"https://api.github.com/users/Chunosov/repos","events_url":"https://api.github.com/users/Chunosov/events{/privacy}","received_events_url":"https://api.github.com/users/Chunosov/received_events","type":"User","site_admin":false},"body":"Changed.","created_at":"2018-03-01T10:33:15Z","updated_at":"2018-03-01T10:33:15Z","html_url":"https://github.com/ctuning/ck-request-asplos18-caffe-intel/pull/11#discussion_r171517875","pull_request_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/pulls/11","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/pulls/comments/171517875"},"html":{"href":"https://github.com/ctuning/ck-request-asplos18-caffe-intel/pull/11#discussion_r171517875"},"pull_request":{"href":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/pulls/11"}},"in_reply_to_id":171499371},"pull_request":{"url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/pulls/11","id":170387324,"html_url":"https://github.com/ctuning/ck-request-asplos18-caffe-intel/pull/11","diff_url":"https://github.com/ctuning/ck-request-asplos18-caffe-intel/pull/11.diff","patch_url":"https://github.com/ctuning/ck-request-asplos18-caffe-intel/pull/11.patch","issue_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/issues/11","number":11,"state":"open","locked":false,"title":"ResNet50 model for intel int8","user":{"login":"Chunosov","id":22535028,"avatar_url":"https://avatars1.githubusercontent.com/u/22535028?v=4","gravatar_id":"","url":"https://api.github.com/users/Chunosov","html_url":"https://github.com/Chunosov","followers_url":"https://api.github.com/users/Chunosov/followers","following_url":"https://api.github.com/users/Chunosov/following{/other_user}","gists_url":"https://api.github.com/users/Chunosov/gists{/gist_id}","starred_url":"https://api.github.com/users/Chunosov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chunosov/subscriptions","organizations_url":"https://api.github.com/users/Chunosov/orgs","repos_url":"https://api.github.com/users/Chunosov/repos","events_url":"https://api.github.com/users/Chunosov/events{/privacy}","received_events_url":"https://api.github.com/users/Chunosov/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-21T06:34:53Z","updated_at":"2018-03-01T10:33:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"972ae5451f1c03ba49b3afe6f27cdaded7adabe8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/pulls/11/commits","review_comments_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/pulls/11/comments","review_comment_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/issues/11/comments","statuses_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/statuses/35fa3a7f133ff3ab80edbe8f95559990199d19b7","head":{"label":"ctuning:convert-model","ref":"convert-model","sha":"35fa3a7f133ff3ab80edbe8f95559990199d19b7","user":{"login":"ctuning","id":8188466,"avatar_url":"https://avatars3.githubusercontent.com/u/8188466?v=4","gravatar_id":"","url":"https://api.github.com/users/ctuning","html_url":"https://github.com/ctuning","followers_url":"https://api.github.com/users/ctuning/followers","following_url":"https://api.github.com/users/ctuning/following{/other_user}","gists_url":"https://api.github.com/users/ctuning/gists{/gist_id}","starred_url":"https://api.github.com/users/ctuning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctuning/subscriptions","organizations_url":"https://api.github.com/users/ctuning/orgs","repos_url":"https://api.github.com/users/ctuning/repos","events_url":"https://api.github.com/users/ctuning/events{/privacy}","received_events_url":"https://api.github.com/users/ctuning/received_events","type":"Organization","site_admin":false},"repo":{"id":121365850,"name":"ck-request-asplos18-caffe-intel","full_name":"ctuning/ck-request-asplos18-caffe-intel","owner":{"login":"ctuning","id":8188466,"avatar_url":"https://avatars3.githubusercontent.com/u/8188466?v=4","gravatar_id":"","url":"https://api.github.com/users/ctuning","html_url":"https://github.com/ctuning","followers_url":"https://api.github.com/users/ctuning/followers","following_url":"https://api.github.com/users/ctuning/following{/other_user}","gists_url":"https://api.github.com/users/ctuning/gists{/gist_id}","starred_url":"https://api.github.com/users/ctuning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctuning/subscriptions","organizations_url":"https://api.github.com/users/ctuning/orgs","repos_url":"https://api.github.com/users/ctuning/repos","events_url":"https://api.github.com/users/ctuning/events{/privacy}","received_events_url":"https://api.github.com/users/ctuning/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ctuning/ck-request-asplos18-caffe-intel","description":"CK workflow for ReQuEST ASPLOS'18 submission:","fork":false,"url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel","forks_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/forks","keys_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/teams","hooks_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/hooks","issue_events_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/issues/events{/number}","events_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/events","assignees_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/assignees{/user}","branches_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/branches{/branch}","tags_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/tags","blobs_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/git/refs{/sha}","trees_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/statuses/{sha}","languages_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/languages","stargazers_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/stargazers","contributors_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/contributors","subscribers_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/subscribers","subscription_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/subscription","commits_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/commits{/sha}","git_commits_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/git/commits{/sha}","comments_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/comments{/number}","issue_comment_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/issues/comments{/number}","contents_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/contents/{+path}","compare_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/merges","archive_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/downloads","issues_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/issues{/number}","pulls_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/pulls{/number}","milestones_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/milestones{/number}","notifications_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/labels{/name}","releases_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/releases{/id}","deployments_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/deployments","created_at":"2018-02-13T09:56:14Z","updated_at":"2018-02-23T12:37:48Z","pushed_at":"2018-03-01T10:33:07Z","git_url":"git://github.com/ctuning/ck-request-asplos18-caffe-intel.git","ssh_url":"git@github.com:ctuning/ck-request-asplos18-caffe-intel.git","clone_url":"https://github.com/ctuning/ck-request-asplos18-caffe-intel.git","svn_url":"https://github.com/ctuning/ck-request-asplos18-caffe-intel","homepage":"http://cknowledge.org/request-cfp-asplos2018.html","size":52,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":9,"license":null,"forks":0,"open_issues":9,"watchers":1,"default_branch":"master"}},"base":{"label":"ctuning:master","ref":"master","sha":"8640f639cb73a198ac7e6c36d41d9c48c483cb3e","user":{"login":"ctuning","id":8188466,"avatar_url":"https://avatars3.githubusercontent.com/u/8188466?v=4","gravatar_id":"","url":"https://api.github.com/users/ctuning","html_url":"https://github.com/ctuning","followers_url":"https://api.github.com/users/ctuning/followers","following_url":"https://api.github.com/users/ctuning/following{/other_user}","gists_url":"https://api.github.com/users/ctuning/gists{/gist_id}","starred_url":"https://api.github.com/users/ctuning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctuning/subscriptions","organizations_url":"https://api.github.com/users/ctuning/orgs","repos_url":"https://api.github.com/users/ctuning/repos","events_url":"https://api.github.com/users/ctuning/events{/privacy}","received_events_url":"https://api.github.com/users/ctuning/received_events","type":"Organization","site_admin":false},"repo":{"id":121365850,"name":"ck-request-asplos18-caffe-intel","full_name":"ctuning/ck-request-asplos18-caffe-intel","owner":{"login":"ctuning","id":8188466,"avatar_url":"https://avatars3.githubusercontent.com/u/8188466?v=4","gravatar_id":"","url":"https://api.github.com/users/ctuning","html_url":"https://github.com/ctuning","followers_url":"https://api.github.com/users/ctuning/followers","following_url":"https://api.github.com/users/ctuning/following{/other_user}","gists_url":"https://api.github.com/users/ctuning/gists{/gist_id}","starred_url":"https://api.github.com/users/ctuning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctuning/subscriptions","organizations_url":"https://api.github.com/users/ctuning/orgs","repos_url":"https://api.github.com/users/ctuning/repos","events_url":"https://api.github.com/users/ctuning/events{/privacy}","received_events_url":"https://api.github.com/users/ctuning/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ctuning/ck-request-asplos18-caffe-intel","description":"CK workflow for ReQuEST ASPLOS'18 submission:","fork":false,"url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel","forks_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/forks","keys_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/teams","hooks_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/hooks","issue_events_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/issues/events{/number}","events_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/events","assignees_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/assignees{/user}","branches_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/branches{/branch}","tags_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/tags","blobs_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/git/refs{/sha}","trees_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/statuses/{sha}","languages_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/languages","stargazers_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/stargazers","contributors_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/contributors","subscribers_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/subscribers","subscription_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/subscription","commits_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/commits{/sha}","git_commits_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/git/commits{/sha}","comments_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/comments{/number}","issue_comment_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/issues/comments{/number}","contents_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/contents/{+path}","compare_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/merges","archive_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/downloads","issues_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/issues{/number}","pulls_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/pulls{/number}","milestones_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/milestones{/number}","notifications_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/labels{/name}","releases_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/releases{/id}","deployments_url":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/deployments","created_at":"2018-02-13T09:56:14Z","updated_at":"2018-02-23T12:37:48Z","pushed_at":"2018-03-01T10:33:07Z","git_url":"git://github.com/ctuning/ck-request-asplos18-caffe-intel.git","ssh_url":"git@github.com:ctuning/ck-request-asplos18-caffe-intel.git","clone_url":"https://github.com/ctuning/ck-request-asplos18-caffe-intel.git","svn_url":"https://github.com/ctuning/ck-request-asplos18-caffe-intel","homepage":"http://cknowledge.org/request-cfp-asplos2018.html","size":52,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":9,"license":null,"forks":0,"open_issues":9,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/pulls/11"},"html":{"href":"https://github.com/ctuning/ck-request-asplos18-caffe-intel/pull/11"},"issue":{"href":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/issues/11"},"comments":{"href":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/ctuning/ck-request-asplos18-caffe-intel/statuses/35fa3a7f133ff3ab80edbe8f95559990199d19b7"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"Chunosov"}}