{"action":"created","comment":{"url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/pulls/comments/22791451","id":22791451,"diff_hunk":"@@ -590,40 +553,18 @@ def train(dim_proj=100,\n                 valid_err=valid_err, test_err=test_err,\n                 history_errs=history_errs, **params)\n \n+    print 'The code run for %d epochs, with %f sec/epochs' % (\n+        (eidx + 1), 1. * (eidx + 1) / (end_time - start_time))\n+    print >> sys.stderr, ('Training took %.1fs minutes' %","path":"code/lstm.py","position":421,"original_position":421,"commit_id":"86e5c4b49e5b6c9e2134fc1959339a2f314cfca3","original_commit_id":"86e5c4b49e5b6c9e2134fc1959339a2f314cfca3","user":{"login":"carriepl","id":832811,"avatar_url":"https://avatars.githubusercontent.com/u/832811?v=3","gravatar_id":"","url":"https://api.github.com/users/carriepl","html_url":"https://github.com/carriepl","followers_url":"https://api.github.com/users/carriepl/followers","following_url":"https://api.github.com/users/carriepl/following{/other_user}","gists_url":"https://api.github.com/users/carriepl/gists{/gist_id}","starred_url":"https://api.github.com/users/carriepl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carriepl/subscriptions","organizations_url":"https://api.github.com/users/carriepl/orgs","repos_url":"https://api.github.com/users/carriepl/repos","events_url":"https://api.github.com/users/carriepl/events{/privacy}","received_events_url":"https://api.github.com/users/carriepl/received_events","type":"User","site_admin":false},"body":"\"minutes\" => \"seconds\"?","created_at":"2015-01-12T14:12:01Z","updated_at":"2015-01-12T14:12:01Z","html_url":"https://github.com/lisa-lab/DeepLearningTutorials/pull/63#discussion_r22791451","pull_request_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/pulls/63","_links":{"self":{"href":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/pulls/comments/22791451"},"html":{"href":"https://github.com/lisa-lab/DeepLearningTutorials/pull/63#discussion_r22791451"},"pull_request":{"href":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/pulls/63"}}},"pull_request":{"url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/pulls/63","id":27061975,"html_url":"https://github.com/lisa-lab/DeepLearningTutorials/pull/63","diff_url":"https://github.com/lisa-lab/DeepLearningTutorials/pull/63.diff","patch_url":"https://github.com/lisa-lab/DeepLearningTutorials/pull/63.patch","issue_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/issues/63","number":63,"state":"open","locked":false,"title":"Some update to the LSTM code.","user":{"login":"nouiz","id":180987,"avatar_url":"https://avatars.githubusercontent.com/u/180987?v=3","gravatar_id":"","url":"https://api.github.com/users/nouiz","html_url":"https://github.com/nouiz","followers_url":"https://api.github.com/users/nouiz/followers","following_url":"https://api.github.com/users/nouiz/following{/other_user}","gists_url":"https://api.github.com/users/nouiz/gists{/gist_id}","starred_url":"https://api.github.com/users/nouiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nouiz/subscriptions","organizations_url":"https://api.github.com/users/nouiz/orgs","repos_url":"https://api.github.com/users/nouiz/repos","events_url":"https://api.github.com/users/nouiz/events{/privacy}","received_events_url":"https://api.github.com/users/nouiz/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-08T21:39:11Z","updated_at":"2015-01-12T14:12:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"02c50afab2b6ad589fd62ae961ba40cb31786c59","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/pulls/63/commits","review_comments_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/pulls/63/comments","review_comment_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/pulls/comments/{number}","comments_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/issues/63/comments","statuses_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/statuses/86e5c4b49e5b6c9e2134fc1959339a2f314cfca3","head":{"label":"nouiz:master","ref":"master","sha":"86e5c4b49e5b6c9e2134fc1959339a2f314cfca3","user":{"login":"nouiz","id":180987,"avatar_url":"https://avatars.githubusercontent.com/u/180987?v=3","gravatar_id":"","url":"https://api.github.com/users/nouiz","html_url":"https://github.com/nouiz","followers_url":"https://api.github.com/users/nouiz/followers","following_url":"https://api.github.com/users/nouiz/following{/other_user}","gists_url":"https://api.github.com/users/nouiz/gists{/gist_id}","starred_url":"https://api.github.com/users/nouiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nouiz/subscriptions","organizations_url":"https://api.github.com/users/nouiz/orgs","repos_url":"https://api.github.com/users/nouiz/repos","events_url":"https://api.github.com/users/nouiz/events{/privacy}","received_events_url":"https://api.github.com/users/nouiz/received_events","type":"User","site_admin":false},"repo":{"id":2309642,"name":"DeepLearningTutorials","full_name":"nouiz/DeepLearningTutorials","owner":{"login":"nouiz","id":180987,"avatar_url":"https://avatars.githubusercontent.com/u/180987?v=3","gravatar_id":"","url":"https://api.github.com/users/nouiz","html_url":"https://github.com/nouiz","followers_url":"https://api.github.com/users/nouiz/followers","following_url":"https://api.github.com/users/nouiz/following{/other_user}","gists_url":"https://api.github.com/users/nouiz/gists{/gist_id}","starred_url":"https://api.github.com/users/nouiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nouiz/subscriptions","organizations_url":"https://api.github.com/users/nouiz/orgs","repos_url":"https://api.github.com/users/nouiz/repos","events_url":"https://api.github.com/users/nouiz/events{/privacy}","received_events_url":"https://api.github.com/users/nouiz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nouiz/DeepLearningTutorials","description":"Deep Learning Tutorial notes and code. See the wiki for more info.","fork":true,"url":"https://api.github.com/repos/nouiz/DeepLearningTutorials","forks_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/forks","keys_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/teams","hooks_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/hooks","issue_events_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/issues/events{/number}","events_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/events","assignees_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/assignees{/user}","branches_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/branches{/branch}","tags_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/tags","blobs_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/git/refs{/sha}","trees_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/statuses/{sha}","languages_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/languages","stargazers_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/stargazers","contributors_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/contributors","subscribers_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/subscribers","subscription_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/subscription","commits_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/commits{/sha}","git_commits_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/git/commits{/sha}","comments_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/comments{/number}","issue_comment_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/issues/comments/{number}","contents_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/contents/{+path}","compare_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/merges","archive_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/downloads","issues_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/issues{/number}","pulls_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/pulls{/number}","milestones_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/milestones{/number}","notifications_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/labels{/name}","releases_url":"https://api.github.com/repos/nouiz/DeepLearningTutorials/releases{/id}","created_at":"2011-09-01T18:54:51Z","updated_at":"2015-01-10T20:04:45Z","pushed_at":"2015-01-10T20:04:44Z","git_url":"git://github.com/nouiz/DeepLearningTutorials.git","ssh_url":"git@github.com:nouiz/DeepLearningTutorials.git","clone_url":"https://github.com/nouiz/DeepLearningTutorials.git","svn_url":"https://github.com/nouiz/DeepLearningTutorials","homepage":"http://deeplearning.net/tutorial","size":7881,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":3,"default_branch":"master"}},"base":{"label":"lisa-lab:master","ref":"master","sha":"a7295aa0396430e28fce21d54146c17c9e1fd18f","user":{"login":"lisa-lab","id":178109,"avatar_url":"https://avatars.githubusercontent.com/u/178109?v=3","gravatar_id":"","url":"https://api.github.com/users/lisa-lab","html_url":"https://github.com/lisa-lab","followers_url":"https://api.github.com/users/lisa-lab/followers","following_url":"https://api.github.com/users/lisa-lab/following{/other_user}","gists_url":"https://api.github.com/users/lisa-lab/gists{/gist_id}","starred_url":"https://api.github.com/users/lisa-lab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lisa-lab/subscriptions","organizations_url":"https://api.github.com/users/lisa-lab/orgs","repos_url":"https://api.github.com/users/lisa-lab/repos","events_url":"https://api.github.com/users/lisa-lab/events{/privacy}","received_events_url":"https://api.github.com/users/lisa-lab/received_events","type":"Organization","site_admin":false},"repo":{"id":462713,"name":"DeepLearningTutorials","full_name":"lisa-lab/DeepLearningTutorials","owner":{"login":"lisa-lab","id":178109,"avatar_url":"https://avatars.githubusercontent.com/u/178109?v=3","gravatar_id":"","url":"https://api.github.com/users/lisa-lab","html_url":"https://github.com/lisa-lab","followers_url":"https://api.github.com/users/lisa-lab/followers","following_url":"https://api.github.com/users/lisa-lab/following{/other_user}","gists_url":"https://api.github.com/users/lisa-lab/gists{/gist_id}","starred_url":"https://api.github.com/users/lisa-lab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lisa-lab/subscriptions","organizations_url":"https://api.github.com/users/lisa-lab/orgs","repos_url":"https://api.github.com/users/lisa-lab/repos","events_url":"https://api.github.com/users/lisa-lab/events{/privacy}","received_events_url":"https://api.github.com/users/lisa-lab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lisa-lab/DeepLearningTutorials","description":"Deep Learning Tutorial notes and code. See the wiki for more info.","fork":false,"url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials","forks_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/forks","keys_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/teams","hooks_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/hooks","issue_events_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/issues/events{/number}","events_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/events","assignees_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/assignees{/user}","branches_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/branches{/branch}","tags_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/tags","blobs_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/git/refs{/sha}","trees_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/statuses/{sha}","languages_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/languages","stargazers_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/stargazers","contributors_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/contributors","subscribers_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/subscribers","subscription_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/subscription","commits_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/commits{/sha}","git_commits_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/git/commits{/sha}","comments_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/comments{/number}","issue_comment_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/issues/comments/{number}","contents_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/contents/{+path}","compare_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/merges","archive_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/downloads","issues_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/issues{/number}","pulls_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/pulls{/number}","milestones_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/milestones{/number}","notifications_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/labels{/name}","releases_url":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/releases{/id}","created_at":"2010-01-07T18:42:37Z","updated_at":"2015-01-11T19:05:55Z","pushed_at":"2015-01-08T20:53:53Z","git_url":"git://github.com/lisa-lab/DeepLearningTutorials.git","ssh_url":"git@github.com:lisa-lab/DeepLearningTutorials.git","clone_url":"https://github.com/lisa-lab/DeepLearningTutorials.git","svn_url":"https://github.com/lisa-lab/DeepLearningTutorials","homepage":"http://deeplearning.net/tutorial","size":8548,"stargazers_count":823,"watchers_count":823,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":449,"mirror_url":null,"open_issues_count":2,"forks":449,"open_issues":2,"watchers":823,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/pulls/63"},"html":{"href":"https://github.com/lisa-lab/DeepLearningTutorials/pull/63"},"issue":{"href":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/issues/63"},"comments":{"href":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/issues/63/comments"},"review_comments":{"href":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/pulls/63/comments"},"review_comment":{"href":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/pulls/63/commits"},"statuses":{"href":"https://api.github.com/repos/lisa-lab/DeepLearningTutorials/statuses/86e5c4b49e5b6c9e2134fc1959339a2f314cfca3"}}}}