{"action":"created","comment":{"url":"https://api.github.com/repos/heurezjusz/Athenet/pulls/comments/58137188","id":58137188,"diff_hunk":"@@ -0,0 +1,72 @@\n+\"\"\"GoogLeNet model.\"\"\"\n+\n+from athenet import Network\n+from athenet.layers import ConvolutionalLayer, ReLU, LRN, MaxPool, AvgPool, \\\n+    FullyConnectedLayer, Dropout, Softmax, InceptionLayer\n+from athenet.utils import load_data, get_bin_path\n+\n+GOOGLENET_FILENAME = 'googlenet_weights.pkl.gz'\n+\n+\n+def googlenet(trained=True, weights_filename=GOOGLENET_FILENAME,\n+              weights_url=None):\n+    if trained:\n+        weights = load_data(get_bin_path(weights_filename), weights_url)\n+        if weights is None:\n+            raise Exception(\"cannot load GoogLeNet weights\")\n+\n+    # Normalization parameters\n+    local_range = 5\n+    alpha = 0.0001\n+    beta = 0.75\n+    k = 1\n+\n+    googlenet = Network([","path":"athenet/models/googlenet.py","position":24,"original_position":24,"commit_id":"ba7f29ec3ec0f4acce72034376d5a378dff9aec2","original_commit_id":"ba7f29ec3ec0f4acce72034376d5a378dff9aec2","user":{"login":"glogowski-wojciech","id":9470107,"avatar_url":"https://avatars.githubusercontent.com/u/9470107?v=3","gravatar_id":"","url":"https://api.github.com/users/glogowski-wojciech","html_url":"https://github.com/glogowski-wojciech","followers_url":"https://api.github.com/users/glogowski-wojciech/followers","following_url":"https://api.github.com/users/glogowski-wojciech/following{/other_user}","gists_url":"https://api.github.com/users/glogowski-wojciech/gists{/gist_id}","starred_url":"https://api.github.com/users/glogowski-wojciech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glogowski-wojciech/subscriptions","organizations_url":"https://api.github.com/users/glogowski-wojciech/orgs","repos_url":"https://api.github.com/users/glogowski-wojciech/repos","events_url":"https://api.github.com/users/glogowski-wojciech/events{/privacy}","received_events_url":"https://api.github.com/users/glogowski-wojciech/received_events","type":"User","site_admin":false},"body":"shadows name of function","created_at":"2016-03-31T22:18:13Z","updated_at":"2016-03-31T22:18:13Z","html_url":"https://github.com/heurezjusz/Athenet/pull/22#discussion_r58137188","pull_request_url":"https://api.github.com/repos/heurezjusz/Athenet/pulls/22","_links":{"self":{"href":"https://api.github.com/repos/heurezjusz/Athenet/pulls/comments/58137188"},"html":{"href":"https://github.com/heurezjusz/Athenet/pull/22#discussion_r58137188"},"pull_request":{"href":"https://api.github.com/repos/heurezjusz/Athenet/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/heurezjusz/Athenet/pulls/22","id":63465226,"html_url":"https://github.com/heurezjusz/Athenet/pull/22","diff_url":"https://github.com/heurezjusz/Athenet/pull/22.diff","patch_url":"https://github.com/heurezjusz/Athenet/pull/22.patch","issue_url":"https://api.github.com/repos/heurezjusz/Athenet/issues/22","number":22,"state":"open","locked":false,"title":"GoogLeNet","user":{"login":"marcinp7","id":11628123,"avatar_url":"https://avatars.githubusercontent.com/u/11628123?v=3","gravatar_id":"","url":"https://api.github.com/users/marcinp7","html_url":"https://github.com/marcinp7","followers_url":"https://api.github.com/users/marcinp7/followers","following_url":"https://api.github.com/users/marcinp7/following{/other_user}","gists_url":"https://api.github.com/users/marcinp7/gists{/gist_id}","starred_url":"https://api.github.com/users/marcinp7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcinp7/subscriptions","organizations_url":"https://api.github.com/users/marcinp7/orgs","repos_url":"https://api.github.com/users/marcinp7/repos","events_url":"https://api.github.com/users/marcinp7/events{/privacy}","received_events_url":"https://api.github.com/users/marcinp7/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-19T11:02:35Z","updated_at":"2016-03-31T22:18:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"15935760f19cf67f2f642e9c1c236f18338178a6","assignee":{"login":"glogowski-wojciech","id":9470107,"avatar_url":"https://avatars.githubusercontent.com/u/9470107?v=3","gravatar_id":"","url":"https://api.github.com/users/glogowski-wojciech","html_url":"https://github.com/glogowski-wojciech","followers_url":"https://api.github.com/users/glogowski-wojciech/followers","following_url":"https://api.github.com/users/glogowski-wojciech/following{/other_user}","gists_url":"https://api.github.com/users/glogowski-wojciech/gists{/gist_id}","starred_url":"https://api.github.com/users/glogowski-wojciech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glogowski-wojciech/subscriptions","organizations_url":"https://api.github.com/users/glogowski-wojciech/orgs","repos_url":"https://api.github.com/users/glogowski-wojciech/repos","events_url":"https://api.github.com/users/glogowski-wojciech/events{/privacy}","received_events_url":"https://api.github.com/users/glogowski-wojciech/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/heurezjusz/Athenet/pulls/22/commits","review_comments_url":"https://api.github.com/repos/heurezjusz/Athenet/pulls/22/comments","review_comment_url":"https://api.github.com/repos/heurezjusz/Athenet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/heurezjusz/Athenet/issues/22/comments","statuses_url":"https://api.github.com/repos/heurezjusz/Athenet/statuses/ba7f29ec3ec0f4acce72034376d5a378dff9aec2","head":{"label":"heurezjusz:googlenet","ref":"googlenet","sha":"ba7f29ec3ec0f4acce72034376d5a378dff9aec2","user":{"login":"heurezjusz","id":15955224,"avatar_url":"https://avatars.githubusercontent.com/u/15955224?v=3","gravatar_id":"","url":"https://api.github.com/users/heurezjusz","html_url":"https://github.com/heurezjusz","followers_url":"https://api.github.com/users/heurezjusz/followers","following_url":"https://api.github.com/users/heurezjusz/following{/other_user}","gists_url":"https://api.github.com/users/heurezjusz/gists{/gist_id}","starred_url":"https://api.github.com/users/heurezjusz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heurezjusz/subscriptions","organizations_url":"https://api.github.com/users/heurezjusz/orgs","repos_url":"https://api.github.com/users/heurezjusz/repos","events_url":"https://api.github.com/users/heurezjusz/events{/privacy}","received_events_url":"https://api.github.com/users/heurezjusz/received_events","type":"User","site_admin":false},"repo":{"id":46612711,"name":"Athenet","full_name":"heurezjusz/Athenet","owner":{"login":"heurezjusz","id":15955224,"avatar_url":"https://avatars.githubusercontent.com/u/15955224?v=3","gravatar_id":"","url":"https://api.github.com/users/heurezjusz","html_url":"https://github.com/heurezjusz","followers_url":"https://api.github.com/users/heurezjusz/followers","following_url":"https://api.github.com/users/heurezjusz/following{/other_user}","gists_url":"https://api.github.com/users/heurezjusz/gists{/gist_id}","starred_url":"https://api.github.com/users/heurezjusz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heurezjusz/subscriptions","organizations_url":"https://api.github.com/users/heurezjusz/orgs","repos_url":"https://api.github.com/users/heurezjusz/repos","events_url":"https://api.github.com/users/heurezjusz/events{/privacy}","received_events_url":"https://api.github.com/users/heurezjusz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/heurezjusz/Athenet","description":"Make the network faster","fork":false,"url":"https://api.github.com/repos/heurezjusz/Athenet","forks_url":"https://api.github.com/repos/heurezjusz/Athenet/forks","keys_url":"https://api.github.com/repos/heurezjusz/Athenet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/heurezjusz/Athenet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/heurezjusz/Athenet/teams","hooks_url":"https://api.github.com/repos/heurezjusz/Athenet/hooks","issue_events_url":"https://api.github.com/repos/heurezjusz/Athenet/issues/events{/number}","events_url":"https://api.github.com/repos/heurezjusz/Athenet/events","assignees_url":"https://api.github.com/repos/heurezjusz/Athenet/assignees{/user}","branches_url":"https://api.github.com/repos/heurezjusz/Athenet/branches{/branch}","tags_url":"https://api.github.com/repos/heurezjusz/Athenet/tags","blobs_url":"https://api.github.com/repos/heurezjusz/Athenet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/heurezjusz/Athenet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/heurezjusz/Athenet/git/refs{/sha}","trees_url":"https://api.github.com/repos/heurezjusz/Athenet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/heurezjusz/Athenet/statuses/{sha}","languages_url":"https://api.github.com/repos/heurezjusz/Athenet/languages","stargazers_url":"https://api.github.com/repos/heurezjusz/Athenet/stargazers","contributors_url":"https://api.github.com/repos/heurezjusz/Athenet/contributors","subscribers_url":"https://api.github.com/repos/heurezjusz/Athenet/subscribers","subscription_url":"https://api.github.com/repos/heurezjusz/Athenet/subscription","commits_url":"https://api.github.com/repos/heurezjusz/Athenet/commits{/sha}","git_commits_url":"https://api.github.com/repos/heurezjusz/Athenet/git/commits{/sha}","comments_url":"https://api.github.com/repos/heurezjusz/Athenet/comments{/number}","issue_comment_url":"https://api.github.com/repos/heurezjusz/Athenet/issues/comments{/number}","contents_url":"https://api.github.com/repos/heurezjusz/Athenet/contents/{+path}","compare_url":"https://api.github.com/repos/heurezjusz/Athenet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/heurezjusz/Athenet/merges","archive_url":"https://api.github.com/repos/heurezjusz/Athenet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/heurezjusz/Athenet/downloads","issues_url":"https://api.github.com/repos/heurezjusz/Athenet/issues{/number}","pulls_url":"https://api.github.com/repos/heurezjusz/Athenet/pulls{/number}","milestones_url":"https://api.github.com/repos/heurezjusz/Athenet/milestones{/number}","notifications_url":"https://api.github.com/repos/heurezjusz/Athenet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/heurezjusz/Athenet/labels{/name}","releases_url":"https://api.github.com/repos/heurezjusz/Athenet/releases{/id}","deployments_url":"https://api.github.com/repos/heurezjusz/Athenet/deployments","created_at":"2015-11-21T11:32:47Z","updated_at":"2016-03-22T21:59:50Z","pushed_at":"2016-03-31T20:13:58Z","git_url":"git://github.com/heurezjusz/Athenet.git","ssh_url":"git@github.com:heurezjusz/Athenet.git","clone_url":"https://github.com/heurezjusz/Athenet.git","svn_url":"https://github.com/heurezjusz/Athenet","homepage":null,"size":4617,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"master"}},"base":{"label":"heurezjusz:develop","ref":"develop","sha":"32518b2ac07c9cfa9573c90c8b19c3d39ed8bbcd","user":{"login":"heurezjusz","id":15955224,"avatar_url":"https://avatars.githubusercontent.com/u/15955224?v=3","gravatar_id":"","url":"https://api.github.com/users/heurezjusz","html_url":"https://github.com/heurezjusz","followers_url":"https://api.github.com/users/heurezjusz/followers","following_url":"https://api.github.com/users/heurezjusz/following{/other_user}","gists_url":"https://api.github.com/users/heurezjusz/gists{/gist_id}","starred_url":"https://api.github.com/users/heurezjusz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heurezjusz/subscriptions","organizations_url":"https://api.github.com/users/heurezjusz/orgs","repos_url":"https://api.github.com/users/heurezjusz/repos","events_url":"https://api.github.com/users/heurezjusz/events{/privacy}","received_events_url":"https://api.github.com/users/heurezjusz/received_events","type":"User","site_admin":false},"repo":{"id":46612711,"name":"Athenet","full_name":"heurezjusz/Athenet","owner":{"login":"heurezjusz","id":15955224,"avatar_url":"https://avatars.githubusercontent.com/u/15955224?v=3","gravatar_id":"","url":"https://api.github.com/users/heurezjusz","html_url":"https://github.com/heurezjusz","followers_url":"https://api.github.com/users/heurezjusz/followers","following_url":"https://api.github.com/users/heurezjusz/following{/other_user}","gists_url":"https://api.github.com/users/heurezjusz/gists{/gist_id}","starred_url":"https://api.github.com/users/heurezjusz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heurezjusz/subscriptions","organizations_url":"https://api.github.com/users/heurezjusz/orgs","repos_url":"https://api.github.com/users/heurezjusz/repos","events_url":"https://api.github.com/users/heurezjusz/events{/privacy}","received_events_url":"https://api.github.com/users/heurezjusz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/heurezjusz/Athenet","description":"Make the network faster","fork":false,"url":"https://api.github.com/repos/heurezjusz/Athenet","forks_url":"https://api.github.com/repos/heurezjusz/Athenet/forks","keys_url":"https://api.github.com/repos/heurezjusz/Athenet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/heurezjusz/Athenet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/heurezjusz/Athenet/teams","hooks_url":"https://api.github.com/repos/heurezjusz/Athenet/hooks","issue_events_url":"https://api.github.com/repos/heurezjusz/Athenet/issues/events{/number}","events_url":"https://api.github.com/repos/heurezjusz/Athenet/events","assignees_url":"https://api.github.com/repos/heurezjusz/Athenet/assignees{/user}","branches_url":"https://api.github.com/repos/heurezjusz/Athenet/branches{/branch}","tags_url":"https://api.github.com/repos/heurezjusz/Athenet/tags","blobs_url":"https://api.github.com/repos/heurezjusz/Athenet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/heurezjusz/Athenet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/heurezjusz/Athenet/git/refs{/sha}","trees_url":"https://api.github.com/repos/heurezjusz/Athenet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/heurezjusz/Athenet/statuses/{sha}","languages_url":"https://api.github.com/repos/heurezjusz/Athenet/languages","stargazers_url":"https://api.github.com/repos/heurezjusz/Athenet/stargazers","contributors_url":"https://api.github.com/repos/heurezjusz/Athenet/contributors","subscribers_url":"https://api.github.com/repos/heurezjusz/Athenet/subscribers","subscription_url":"https://api.github.com/repos/heurezjusz/Athenet/subscription","commits_url":"https://api.github.com/repos/heurezjusz/Athenet/commits{/sha}","git_commits_url":"https://api.github.com/repos/heurezjusz/Athenet/git/commits{/sha}","comments_url":"https://api.github.com/repos/heurezjusz/Athenet/comments{/number}","issue_comment_url":"https://api.github.com/repos/heurezjusz/Athenet/issues/comments{/number}","contents_url":"https://api.github.com/repos/heurezjusz/Athenet/contents/{+path}","compare_url":"https://api.github.com/repos/heurezjusz/Athenet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/heurezjusz/Athenet/merges","archive_url":"https://api.github.com/repos/heurezjusz/Athenet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/heurezjusz/Athenet/downloads","issues_url":"https://api.github.com/repos/heurezjusz/Athenet/issues{/number}","pulls_url":"https://api.github.com/repos/heurezjusz/Athenet/pulls{/number}","milestones_url":"https://api.github.com/repos/heurezjusz/Athenet/milestones{/number}","notifications_url":"https://api.github.com/repos/heurezjusz/Athenet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/heurezjusz/Athenet/labels{/name}","releases_url":"https://api.github.com/repos/heurezjusz/Athenet/releases{/id}","deployments_url":"https://api.github.com/repos/heurezjusz/Athenet/deployments","created_at":"2015-11-21T11:32:47Z","updated_at":"2016-03-22T21:59:50Z","pushed_at":"2016-03-31T20:13:58Z","git_url":"git://github.com/heurezjusz/Athenet.git","ssh_url":"git@github.com:heurezjusz/Athenet.git","clone_url":"https://github.com/heurezjusz/Athenet.git","svn_url":"https://github.com/heurezjusz/Athenet","homepage":null,"size":4617,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/heurezjusz/Athenet/pulls/22"},"html":{"href":"https://github.com/heurezjusz/Athenet/pull/22"},"issue":{"href":"https://api.github.com/repos/heurezjusz/Athenet/issues/22"},"comments":{"href":"https://api.github.com/repos/heurezjusz/Athenet/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/heurezjusz/Athenet/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/heurezjusz/Athenet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/heurezjusz/Athenet/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/heurezjusz/Athenet/statuses/ba7f29ec3ec0f4acce72034376d5a378dff9aec2"}}}}