{"action":"created","comment":{"url":"https://api.github.com/repos/intel-analytics/BigDL/pulls/comments/174657202","pull_request_review_id":104053415,"id":174657202,"diff_hunk":"@@ -0,0 +1,114 @@\n+# Inception Model on Imagenet\n+This example demonstrates how to use BigDL to train [Inception v1](https://arxiv.org/abs/1409.4842) architecture on the [ImageNet](http://image-net.org/index) data.\n+## Get the JAR\n+You can build one by refer to the\n+[Build Page](https://github.com/intel-analytics/BigDL/wiki/Build-Page) from the source code. We\n+will release a pre-build package soon.\n+\n+## Prepare the data\n+You can download imagenet-2012 data from <http://image-net.org/download-images>.\n+ \n+After you download the files(**ILSVRC2012_img_train.tar** and **ILSVRC2012_img_val.tar**), \n+run the follow commands to prepare the data.\n+\n+```bash\n+mkdir train\n+mv ILSVRC2012_img_train.tar train/\n+cd train\n+tar -xvf ILSVRC2012_img_train.tar\n+rm -f ILSVRC2012_img_train.tar\n+find . -name \"*.tar\" | while read CLASS_NAME ; do mkdir -p \"${CLASS_NAME%.tar}\"; tar -xvf \"${CLASS_NAME}\" -C \"${CLASS_NAME%.tar}\"; done\n+rm *.tar\n+cd ../\n+mkdir val\n+mv ILSVRC2012_img_val.tar val/\n+cd val\n+tar -xvf ILSVRC2012_img_val.tar\n+cat classes.lst | while read CLASS_NAME; do mkdir -p ${CLASS_NAME}; done\n+cat img_class.lst | while read PARAM; do mv ${PARAM/ n[0-9]*/} ${PARAM/ILSVRC*JPEG /}; done\n+rm ILSVRC2012_img_val.tar\n+```\n+\n+Now all the images belong to the same category are moved to the same folder.","path":"pyspark/bigdl/models/inception/README.md","position":32,"original_position":32,"commit_id":"bb8df3e34b9d990a16954cad7a94ab2dcd311e93","original_commit_id":"bb8df3e34b9d990a16954cad7a94ab2dcd311e93","user":{"login":"wzhongyuan","id":1837261,"avatar_url":"https://avatars3.githubusercontent.com/u/1837261?v=4","gravatar_id":"","url":"https://api.github.com/users/wzhongyuan","html_url":"https://github.com/wzhongyuan","followers_url":"https://api.github.com/users/wzhongyuan/followers","following_url":"https://api.github.com/users/wzhongyuan/following{/other_user}","gists_url":"https://api.github.com/users/wzhongyuan/gists{/gist_id}","starred_url":"https://api.github.com/users/wzhongyuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wzhongyuan/subscriptions","organizations_url":"https://api.github.com/users/wzhongyuan/orgs","repos_url":"https://api.github.com/users/wzhongyuan/repos","events_url":"https://api.github.com/users/wzhongyuan/events{/privacy}","received_events_url":"https://api.github.com/users/wzhongyuan/received_events","type":"User","site_admin":false},"body":"belong -> belonging","created_at":"2018-03-15T01:39:12Z","updated_at":"2018-03-15T01:39:12Z","html_url":"https://github.com/intel-analytics/BigDL/pull/2301#discussion_r174657202","pull_request_url":"https://api.github.com/repos/intel-analytics/BigDL/pulls/2301","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/intel-analytics/BigDL/pulls/comments/174657202"},"html":{"href":"https://github.com/intel-analytics/BigDL/pull/2301#discussion_r174657202"},"pull_request":{"href":"https://api.github.com/repos/intel-analytics/BigDL/pulls/2301"}}},"pull_request":{"url":"https://api.github.com/repos/intel-analytics/BigDL/pulls/2301","id":168736909,"html_url":"https://github.com/intel-analytics/BigDL/pull/2301","diff_url":"https://github.com/intel-analytics/BigDL/pull/2301.diff","patch_url":"https://github.com/intel-analytics/BigDL/pull/2301.patch","issue_url":"https://api.github.com/repos/intel-analytics/BigDL/issues/2301","number":2301,"state":"open","locked":false,"title":"add inception python example","user":{"login":"jenniew","id":8434507,"avatar_url":"https://avatars0.githubusercontent.com/u/8434507?v=4","gravatar_id":"","url":"https://api.github.com/users/jenniew","html_url":"https://github.com/jenniew","followers_url":"https://api.github.com/users/jenniew/followers","following_url":"https://api.github.com/users/jenniew/following{/other_user}","gists_url":"https://api.github.com/users/jenniew/gists{/gist_id}","starred_url":"https://api.github.com/users/jenniew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenniew/subscriptions","organizations_url":"https://api.github.com/users/jenniew/orgs","repos_url":"https://api.github.com/users/jenniew/repos","events_url":"https://api.github.com/users/jenniew/events{/privacy}","received_events_url":"https://api.github.com/users/jenniew/received_events","type":"User","site_admin":false},"body":"## What changes were proposed in this pull request?\r\n\r\nadd inception training example in python\r\n\r\n## How was this patch tested?\r\n\r\nmanually tested\r\n\r\n\r\n","created_at":"2018-02-13T02:06:24Z","updated_at":"2018-03-15T01:39:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7b8693cba503fd432024fe65c2d66a10349ba76d","assignee":null,"assignees":[],"requested_reviewers":[{"login":"zhangxiaoli73","id":20787576,"avatar_url":"https://avatars0.githubusercontent.com/u/20787576?v=4","gravatar_id":"","url":"https://api.github.com/users/zhangxiaoli73","html_url":"https://github.com/zhangxiaoli73","followers_url":"https://api.github.com/users/zhangxiaoli73/followers","following_url":"https://api.github.com/users/zhangxiaoli73/following{/other_user}","gists_url":"https://api.github.com/users/zhangxiaoli73/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangxiaoli73/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangxiaoli73/subscriptions","organizations_url":"https://api.github.com/users/zhangxiaoli73/orgs","repos_url":"https://api.github.com/users/zhangxiaoli73/repos","events_url":"https://api.github.com/users/zhangxiaoli73/events{/privacy}","received_events_url":"https://api.github.com/users/zhangxiaoli73/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/intel-analytics/BigDL/pulls/2301/commits","review_comments_url":"https://api.github.com/repos/intel-analytics/BigDL/pulls/2301/comments","review_comment_url":"https://api.github.com/repos/intel-analytics/BigDL/pulls/comments{/number}","comments_url":"https://api.github.com/repos/intel-analytics/BigDL/issues/2301/comments","statuses_url":"https://api.github.com/repos/intel-analytics/BigDL/statuses/bb8df3e34b9d990a16954cad7a94ab2dcd311e93","head":{"label":"jenniew:inception_v1","ref":"inception_v1","sha":"bb8df3e34b9d990a16954cad7a94ab2dcd311e93","user":{"login":"jenniew","id":8434507,"avatar_url":"https://avatars0.githubusercontent.com/u/8434507?v=4","gravatar_id":"","url":"https://api.github.com/users/jenniew","html_url":"https://github.com/jenniew","followers_url":"https://api.github.com/users/jenniew/followers","following_url":"https://api.github.com/users/jenniew/following{/other_user}","gists_url":"https://api.github.com/users/jenniew/gists{/gist_id}","starred_url":"https://api.github.com/users/jenniew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenniew/subscriptions","organizations_url":"https://api.github.com/users/jenniew/orgs","repos_url":"https://api.github.com/users/jenniew/repos","events_url":"https://api.github.com/users/jenniew/events{/privacy}","received_events_url":"https://api.github.com/users/jenniew/received_events","type":"User","site_admin":false},"repo":{"id":78898610,"name":"BigDL","full_name":"jenniew/BigDL","owner":{"login":"jenniew","id":8434507,"avatar_url":"https://avatars0.githubusercontent.com/u/8434507?v=4","gravatar_id":"","url":"https://api.github.com/users/jenniew","html_url":"https://github.com/jenniew","followers_url":"https://api.github.com/users/jenniew/followers","following_url":"https://api.github.com/users/jenniew/following{/other_user}","gists_url":"https://api.github.com/users/jenniew/gists{/gist_id}","starred_url":"https://api.github.com/users/jenniew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenniew/subscriptions","organizations_url":"https://api.github.com/users/jenniew/orgs","repos_url":"https://api.github.com/users/jenniew/repos","events_url":"https://api.github.com/users/jenniew/events{/privacy}","received_events_url":"https://api.github.com/users/jenniew/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jenniew/BigDL","description":"BigDL: Distributed Deep learning Library for Apache Spark","fork":true,"url":"https://api.github.com/repos/jenniew/BigDL","forks_url":"https://api.github.com/repos/jenniew/BigDL/forks","keys_url":"https://api.github.com/repos/jenniew/BigDL/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenniew/BigDL/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenniew/BigDL/teams","hooks_url":"https://api.github.com/repos/jenniew/BigDL/hooks","issue_events_url":"https://api.github.com/repos/jenniew/BigDL/issues/events{/number}","events_url":"https://api.github.com/repos/jenniew/BigDL/events","assignees_url":"https://api.github.com/repos/jenniew/BigDL/assignees{/user}","branches_url":"https://api.github.com/repos/jenniew/BigDL/branches{/branch}","tags_url":"https://api.github.com/repos/jenniew/BigDL/tags","blobs_url":"https://api.github.com/repos/jenniew/BigDL/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenniew/BigDL/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenniew/BigDL/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenniew/BigDL/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenniew/BigDL/statuses/{sha}","languages_url":"https://api.github.com/repos/jenniew/BigDL/languages","stargazers_url":"https://api.github.com/repos/jenniew/BigDL/stargazers","contributors_url":"https://api.github.com/repos/jenniew/BigDL/contributors","subscribers_url":"https://api.github.com/repos/jenniew/BigDL/subscribers","subscription_url":"https://api.github.com/repos/jenniew/BigDL/subscription","commits_url":"https://api.github.com/repos/jenniew/BigDL/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenniew/BigDL/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenniew/BigDL/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenniew/BigDL/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenniew/BigDL/contents/{+path}","compare_url":"https://api.github.com/repos/jenniew/BigDL/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenniew/BigDL/merges","archive_url":"https://api.github.com/repos/jenniew/BigDL/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenniew/BigDL/downloads","issues_url":"https://api.github.com/repos/jenniew/BigDL/issues{/number}","pulls_url":"https://api.github.com/repos/jenniew/BigDL/pulls{/number}","milestones_url":"https://api.github.com/repos/jenniew/BigDL/milestones{/number}","notifications_url":"https://api.github.com/repos/jenniew/BigDL/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenniew/BigDL/labels{/name}","releases_url":"https://api.github.com/repos/jenniew/BigDL/releases{/id}","deployments_url":"https://api.github.com/repos/jenniew/BigDL/deployments","created_at":"2017-01-14T00:45:08Z","updated_at":"2018-02-02T04:52:29Z","pushed_at":"2018-03-14T18:35:35Z","git_url":"git://github.com/jenniew/BigDL.git","ssh_url":"git@github.com:jenniew/BigDL.git","clone_url":"https://github.com/jenniew/BigDL.git","svn_url":"https://github.com/jenniew/BigDL","homepage":"","size":23277,"stargazers_count":1,"watchers_count":1,"language":"Scala","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":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"},"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"intel-analytics:master","ref":"master","sha":"4999c15101ea0a5f116b370897a174fe5e0eed64","user":{"login":"intel-analytics","id":10941215,"avatar_url":"https://avatars3.githubusercontent.com/u/10941215?v=4","gravatar_id":"","url":"https://api.github.com/users/intel-analytics","html_url":"https://github.com/intel-analytics","followers_url":"https://api.github.com/users/intel-analytics/followers","following_url":"https://api.github.com/users/intel-analytics/following{/other_user}","gists_url":"https://api.github.com/users/intel-analytics/gists{/gist_id}","starred_url":"https://api.github.com/users/intel-analytics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intel-analytics/subscriptions","organizations_url":"https://api.github.com/users/intel-analytics/orgs","repos_url":"https://api.github.com/users/intel-analytics/repos","events_url":"https://api.github.com/users/intel-analytics/events{/privacy}","received_events_url":"https://api.github.com/users/intel-analytics/received_events","type":"Organization","site_admin":false},"repo":{"id":66823715,"name":"BigDL","full_name":"intel-analytics/BigDL","owner":{"login":"intel-analytics","id":10941215,"avatar_url":"https://avatars3.githubusercontent.com/u/10941215?v=4","gravatar_id":"","url":"https://api.github.com/users/intel-analytics","html_url":"https://github.com/intel-analytics","followers_url":"https://api.github.com/users/intel-analytics/followers","following_url":"https://api.github.com/users/intel-analytics/following{/other_user}","gists_url":"https://api.github.com/users/intel-analytics/gists{/gist_id}","starred_url":"https://api.github.com/users/intel-analytics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intel-analytics/subscriptions","organizations_url":"https://api.github.com/users/intel-analytics/orgs","repos_url":"https://api.github.com/users/intel-analytics/repos","events_url":"https://api.github.com/users/intel-analytics/events{/privacy}","received_events_url":"https://api.github.com/users/intel-analytics/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/intel-analytics/BigDL","description":"BigDL: Distributed Deep Learning Library for Apache Spark","fork":false,"url":"https://api.github.com/repos/intel-analytics/BigDL","forks_url":"https://api.github.com/repos/intel-analytics/BigDL/forks","keys_url":"https://api.github.com/repos/intel-analytics/BigDL/keys{/key_id}","collaborators_url":"https://api.github.com/repos/intel-analytics/BigDL/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/intel-analytics/BigDL/teams","hooks_url":"https://api.github.com/repos/intel-analytics/BigDL/hooks","issue_events_url":"https://api.github.com/repos/intel-analytics/BigDL/issues/events{/number}","events_url":"https://api.github.com/repos/intel-analytics/BigDL/events","assignees_url":"https://api.github.com/repos/intel-analytics/BigDL/assignees{/user}","branches_url":"https://api.github.com/repos/intel-analytics/BigDL/branches{/branch}","tags_url":"https://api.github.com/repos/intel-analytics/BigDL/tags","blobs_url":"https://api.github.com/repos/intel-analytics/BigDL/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/intel-analytics/BigDL/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/intel-analytics/BigDL/git/refs{/sha}","trees_url":"https://api.github.com/repos/intel-analytics/BigDL/git/trees{/sha}","statuses_url":"https://api.github.com/repos/intel-analytics/BigDL/statuses/{sha}","languages_url":"https://api.github.com/repos/intel-analytics/BigDL/languages","stargazers_url":"https://api.github.com/repos/intel-analytics/BigDL/stargazers","contributors_url":"https://api.github.com/repos/intel-analytics/BigDL/contributors","subscribers_url":"https://api.github.com/repos/intel-analytics/BigDL/subscribers","subscription_url":"https://api.github.com/repos/intel-analytics/BigDL/subscription","commits_url":"https://api.github.com/repos/intel-analytics/BigDL/commits{/sha}","git_commits_url":"https://api.github.com/repos/intel-analytics/BigDL/git/commits{/sha}","comments_url":"https://api.github.com/repos/intel-analytics/BigDL/comments{/number}","issue_comment_url":"https://api.github.com/repos/intel-analytics/BigDL/issues/comments{/number}","contents_url":"https://api.github.com/repos/intel-analytics/BigDL/contents/{+path}","compare_url":"https://api.github.com/repos/intel-analytics/BigDL/compare/{base}...{head}","merges_url":"https://api.github.com/repos/intel-analytics/BigDL/merges","archive_url":"https://api.github.com/repos/intel-analytics/BigDL/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/intel-analytics/BigDL/downloads","issues_url":"https://api.github.com/repos/intel-analytics/BigDL/issues{/number}","pulls_url":"https://api.github.com/repos/intel-analytics/BigDL/pulls{/number}","milestones_url":"https://api.github.com/repos/intel-analytics/BigDL/milestones{/number}","notifications_url":"https://api.github.com/repos/intel-analytics/BigDL/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/intel-analytics/BigDL/labels{/name}","releases_url":"https://api.github.com/repos/intel-analytics/BigDL/releases{/id}","deployments_url":"https://api.github.com/repos/intel-analytics/BigDL/deployments","created_at":"2016-08-29T07:59:50Z","updated_at":"2018-03-14T19:13:58Z","pushed_at":"2018-03-15T01:25:19Z","git_url":"git://github.com/intel-analytics/BigDL.git","ssh_url":"git@github.com:intel-analytics/BigDL.git","clone_url":"https://github.com/intel-analytics/BigDL.git","svn_url":"https://github.com/intel-analytics/BigDL","homepage":"https://bigdl-project.github.io/","size":19992,"stargazers_count":2327,"watchers_count":2327,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":516,"mirror_url":null,"archived":false,"open_issues_count":163,"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":516,"open_issues":163,"watchers":2327,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/intel-analytics/BigDL/pulls/2301"},"html":{"href":"https://github.com/intel-analytics/BigDL/pull/2301"},"issue":{"href":"https://api.github.com/repos/intel-analytics/BigDL/issues/2301"},"comments":{"href":"https://api.github.com/repos/intel-analytics/BigDL/issues/2301/comments"},"review_comments":{"href":"https://api.github.com/repos/intel-analytics/BigDL/pulls/2301/comments"},"review_comment":{"href":"https://api.github.com/repos/intel-analytics/BigDL/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/intel-analytics/BigDL/pulls/2301/commits"},"statuses":{"href":"https://api.github.com/repos/intel-analytics/BigDL/statuses/bb8df3e34b9d990a16954cad7a94ab2dcd311e93"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"wzhongyuan"}}