{"action":"closed","number":1684,"pull_request":{"url":"https://api.github.com/repos/fchollet/keras/pulls/1684","id":58889876,"html_url":"https://github.com/fchollet/keras/pull/1684","diff_url":"https://github.com/fchollet/keras/pull/1684.diff","patch_url":"https://github.com/fchollet/keras/pull/1684.patch","issue_url":"https://api.github.com/repos/fchollet/keras/issues/1684","number":1684,"state":"closed","locked":false,"title":"Add CSVHistory callback to store history metrics in CSV file.","user":{"login":"gw0","id":803603,"avatar_url":"https://avatars.githubusercontent.com/u/803603?v=3","gravatar_id":"","url":"https://api.github.com/users/gw0","html_url":"https://github.com/gw0","followers_url":"https://api.github.com/users/gw0/followers","following_url":"https://api.github.com/users/gw0/following{/other_user}","gists_url":"https://api.github.com/users/gw0/gists{/gist_id}","starred_url":"https://api.github.com/users/gw0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gw0/subscriptions","organizations_url":"https://api.github.com/users/gw0/orgs","repos_url":"https://api.github.com/users/gw0/repos","events_url":"https://api.github.com/users/gw0/events{/privacy}","received_events_url":"https://api.github.com/users/gw0/received_events","type":"User","site_admin":false},"body":"Having a `History` callback is great, but the results are available only when the training is finished (which could take quite a while) and is destroyed if the process is killed. The `CSVHistory` callback stores all history metrics in a CSV file at each epoch end, so that you can examine it whenever you want and no matter what happens.\r\n\r\nIn combination with `ModelCheckpoint` callback and `model.load_weights('foo.hdf5')` it can even be used to resume training if the process is killed.","created_at":"2016-02-10T13:27:01Z","updated_at":"2016-02-12T20:22:02Z","closed_at":"2016-02-12T20:22:02Z","merged_at":null,"merge_commit_sha":"6260f9ebc27dc58c77e6a9209e40f3c2648a3aca","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fchollet/keras/pulls/1684/commits","review_comments_url":"https://api.github.com/repos/fchollet/keras/pulls/1684/comments","review_comment_url":"https://api.github.com/repos/fchollet/keras/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fchollet/keras/issues/1684/comments","statuses_url":"https://api.github.com/repos/fchollet/keras/statuses/aae0e696efc7945b1f2ca366324cbbccc79210f2","head":{"label":"gw0:feat-csvhistory-callback","ref":"feat-csvhistory-callback","sha":"aae0e696efc7945b1f2ca366324cbbccc79210f2","user":{"login":"gw0","id":803603,"avatar_url":"https://avatars.githubusercontent.com/u/803603?v=3","gravatar_id":"","url":"https://api.github.com/users/gw0","html_url":"https://github.com/gw0","followers_url":"https://api.github.com/users/gw0/followers","following_url":"https://api.github.com/users/gw0/following{/other_user}","gists_url":"https://api.github.com/users/gw0/gists{/gist_id}","starred_url":"https://api.github.com/users/gw0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gw0/subscriptions","organizations_url":"https://api.github.com/users/gw0/orgs","repos_url":"https://api.github.com/users/gw0/repos","events_url":"https://api.github.com/users/gw0/events{/privacy}","received_events_url":"https://api.github.com/users/gw0/received_events","type":"User","site_admin":false},"repo":{"id":42122892,"name":"keras","full_name":"gw0/keras","owner":{"login":"gw0","id":803603,"avatar_url":"https://avatars.githubusercontent.com/u/803603?v=3","gravatar_id":"","url":"https://api.github.com/users/gw0","html_url":"https://github.com/gw0","followers_url":"https://api.github.com/users/gw0/followers","following_url":"https://api.github.com/users/gw0/following{/other_user}","gists_url":"https://api.github.com/users/gw0/gists{/gist_id}","starred_url":"https://api.github.com/users/gw0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gw0/subscriptions","organizations_url":"https://api.github.com/users/gw0/orgs","repos_url":"https://api.github.com/users/gw0/repos","events_url":"https://api.github.com/users/gw0/events{/privacy}","received_events_url":"https://api.github.com/users/gw0/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gw0/keras","description":"Theano-based Deep Learning library (convnets, recurrent neural networks, and more).","fork":true,"url":"https://api.github.com/repos/gw0/keras","forks_url":"https://api.github.com/repos/gw0/keras/forks","keys_url":"https://api.github.com/repos/gw0/keras/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gw0/keras/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gw0/keras/teams","hooks_url":"https://api.github.com/repos/gw0/keras/hooks","issue_events_url":"https://api.github.com/repos/gw0/keras/issues/events{/number}","events_url":"https://api.github.com/repos/gw0/keras/events","assignees_url":"https://api.github.com/repos/gw0/keras/assignees{/user}","branches_url":"https://api.github.com/repos/gw0/keras/branches{/branch}","tags_url":"https://api.github.com/repos/gw0/keras/tags","blobs_url":"https://api.github.com/repos/gw0/keras/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gw0/keras/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gw0/keras/git/refs{/sha}","trees_url":"https://api.github.com/repos/gw0/keras/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gw0/keras/statuses/{sha}","languages_url":"https://api.github.com/repos/gw0/keras/languages","stargazers_url":"https://api.github.com/repos/gw0/keras/stargazers","contributors_url":"https://api.github.com/repos/gw0/keras/contributors","subscribers_url":"https://api.github.com/repos/gw0/keras/subscribers","subscription_url":"https://api.github.com/repos/gw0/keras/subscription","commits_url":"https://api.github.com/repos/gw0/keras/commits{/sha}","git_commits_url":"https://api.github.com/repos/gw0/keras/git/commits{/sha}","comments_url":"https://api.github.com/repos/gw0/keras/comments{/number}","issue_comment_url":"https://api.github.com/repos/gw0/keras/issues/comments{/number}","contents_url":"https://api.github.com/repos/gw0/keras/contents/{+path}","compare_url":"https://api.github.com/repos/gw0/keras/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gw0/keras/merges","archive_url":"https://api.github.com/repos/gw0/keras/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gw0/keras/downloads","issues_url":"https://api.github.com/repos/gw0/keras/issues{/number}","pulls_url":"https://api.github.com/repos/gw0/keras/pulls{/number}","milestones_url":"https://api.github.com/repos/gw0/keras/milestones{/number}","notifications_url":"https://api.github.com/repos/gw0/keras/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gw0/keras/labels{/name}","releases_url":"https://api.github.com/repos/gw0/keras/releases{/id}","deployments_url":"https://api.github.com/repos/gw0/keras/deployments","created_at":"2015-09-08T15:54:03Z","updated_at":"2015-09-08T15:54:03Z","pushed_at":"2016-02-10T13:20:13Z","git_url":"git://github.com/gw0/keras.git","ssh_url":"git@github.com:gw0/keras.git","clone_url":"https://github.com/gw0/keras.git","svn_url":"https://github.com/gw0/keras","homepage":"http://keras.io/","size":2081,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"fchollet:master","ref":"master","sha":"6279544dc306f9eff6debb2b17b9e278a69b8ced","user":{"login":"fchollet","id":710255,"avatar_url":"https://avatars.githubusercontent.com/u/710255?v=3","gravatar_id":"","url":"https://api.github.com/users/fchollet","html_url":"https://github.com/fchollet","followers_url":"https://api.github.com/users/fchollet/followers","following_url":"https://api.github.com/users/fchollet/following{/other_user}","gists_url":"https://api.github.com/users/fchollet/gists{/gist_id}","starred_url":"https://api.github.com/users/fchollet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fchollet/subscriptions","organizations_url":"https://api.github.com/users/fchollet/orgs","repos_url":"https://api.github.com/users/fchollet/repos","events_url":"https://api.github.com/users/fchollet/events{/privacy}","received_events_url":"https://api.github.com/users/fchollet/received_events","type":"User","site_admin":false},"repo":{"id":33015583,"name":"keras","full_name":"fchollet/keras","owner":{"login":"fchollet","id":710255,"avatar_url":"https://avatars.githubusercontent.com/u/710255?v=3","gravatar_id":"","url":"https://api.github.com/users/fchollet","html_url":"https://github.com/fchollet","followers_url":"https://api.github.com/users/fchollet/followers","following_url":"https://api.github.com/users/fchollet/following{/other_user}","gists_url":"https://api.github.com/users/fchollet/gists{/gist_id}","starred_url":"https://api.github.com/users/fchollet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fchollet/subscriptions","organizations_url":"https://api.github.com/users/fchollet/orgs","repos_url":"https://api.github.com/users/fchollet/repos","events_url":"https://api.github.com/users/fchollet/events{/privacy}","received_events_url":"https://api.github.com/users/fchollet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fchollet/keras","description":"Deep Learning library for Python. Convnets, recurrent neural networks, and more. Runs on Theano and TensorFlow.","fork":false,"url":"https://api.github.com/repos/fchollet/keras","forks_url":"https://api.github.com/repos/fchollet/keras/forks","keys_url":"https://api.github.com/repos/fchollet/keras/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fchollet/keras/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fchollet/keras/teams","hooks_url":"https://api.github.com/repos/fchollet/keras/hooks","issue_events_url":"https://api.github.com/repos/fchollet/keras/issues/events{/number}","events_url":"https://api.github.com/repos/fchollet/keras/events","assignees_url":"https://api.github.com/repos/fchollet/keras/assignees{/user}","branches_url":"https://api.github.com/repos/fchollet/keras/branches{/branch}","tags_url":"https://api.github.com/repos/fchollet/keras/tags","blobs_url":"https://api.github.com/repos/fchollet/keras/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fchollet/keras/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fchollet/keras/git/refs{/sha}","trees_url":"https://api.github.com/repos/fchollet/keras/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fchollet/keras/statuses/{sha}","languages_url":"https://api.github.com/repos/fchollet/keras/languages","stargazers_url":"https://api.github.com/repos/fchollet/keras/stargazers","contributors_url":"https://api.github.com/repos/fchollet/keras/contributors","subscribers_url":"https://api.github.com/repos/fchollet/keras/subscribers","subscription_url":"https://api.github.com/repos/fchollet/keras/subscription","commits_url":"https://api.github.com/repos/fchollet/keras/commits{/sha}","git_commits_url":"https://api.github.com/repos/fchollet/keras/git/commits{/sha}","comments_url":"https://api.github.com/repos/fchollet/keras/comments{/number}","issue_comment_url":"https://api.github.com/repos/fchollet/keras/issues/comments{/number}","contents_url":"https://api.github.com/repos/fchollet/keras/contents/{+path}","compare_url":"https://api.github.com/repos/fchollet/keras/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fchollet/keras/merges","archive_url":"https://api.github.com/repos/fchollet/keras/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fchollet/keras/downloads","issues_url":"https://api.github.com/repos/fchollet/keras/issues{/number}","pulls_url":"https://api.github.com/repos/fchollet/keras/pulls{/number}","milestones_url":"https://api.github.com/repos/fchollet/keras/milestones{/number}","notifications_url":"https://api.github.com/repos/fchollet/keras/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fchollet/keras/labels{/name}","releases_url":"https://api.github.com/repos/fchollet/keras/releases{/id}","deployments_url":"https://api.github.com/repos/fchollet/keras/deployments","created_at":"2015-03-28T00:35:42Z","updated_at":"2016-02-12T19:59:18Z","pushed_at":"2016-02-12T20:21:09Z","git_url":"git://github.com/fchollet/keras.git","ssh_url":"git@github.com:fchollet/keras.git","clone_url":"https://github.com/fchollet/keras.git","svn_url":"https://github.com/fchollet/keras","homepage":"http://keras.io/","size":101062,"stargazers_count":4371,"watchers_count":4371,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1060,"mirror_url":null,"open_issues_count":441,"forks":1060,"open_issues":441,"watchers":4371,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fchollet/keras/pulls/1684"},"html":{"href":"https://github.com/fchollet/keras/pull/1684"},"issue":{"href":"https://api.github.com/repos/fchollet/keras/issues/1684"},"comments":{"href":"https://api.github.com/repos/fchollet/keras/issues/1684/comments"},"review_comments":{"href":"https://api.github.com/repos/fchollet/keras/pulls/1684/comments"},"review_comment":{"href":"https://api.github.com/repos/fchollet/keras/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fchollet/keras/pulls/1684/commits"},"statuses":{"href":"https://api.github.com/repos/fchollet/keras/statuses/aae0e696efc7945b1f2ca366324cbbccc79210f2"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":4,"review_comments":0,"commits":1,"additions":65,"deletions":0,"changed_files":1}}