{"action":"created","issue":{"url":"https://api.github.com/repos/fchollet/keras/issues/2730","repository_url":"https://api.github.com/repos/fchollet/keras","labels_url":"https://api.github.com/repos/fchollet/keras/issues/2730/labels{/name}","comments_url":"https://api.github.com/repos/fchollet/keras/issues/2730/comments","events_url":"https://api.github.com/repos/fchollet/keras/issues/2730/events","html_url":"https://github.com/fchollet/keras/issues/2730","id":154970816,"number":2730,"title":"Improving the speed of fit_generator","user":{"login":"tdeboissiere","id":7677846,"avatar_url":"https://avatars.githubusercontent.com/u/7677846?v=3","gravatar_id":"","url":"https://api.github.com/users/tdeboissiere","html_url":"https://github.com/tdeboissiere","followers_url":"https://api.github.com/users/tdeboissiere/followers","following_url":"https://api.github.com/users/tdeboissiere/following{/other_user}","gists_url":"https://api.github.com/users/tdeboissiere/gists{/gist_id}","starred_url":"https://api.github.com/users/tdeboissiere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdeboissiere/subscriptions","organizations_url":"https://api.github.com/users/tdeboissiere/orgs","repos_url":"https://api.github.com/users/tdeboissiere/repos","events_url":"https://api.github.com/users/tdeboissiere/events{/privacy}","received_events_url":"https://api.github.com/users/tdeboissiere/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-16T06:45:09Z","updated_at":"2016-05-21T21:02:26Z","closed_at":null,"body":"I have found fit_generator to be quite slow.\r\nThis makes the disk read speed a major bottleneck when the network is relatively shallow.\r\n\r\nUsing the multiprocessing module instead of the threading one, I was able to get significant improvements in speed (half the time) as shown in this [gist example](https://gist.github.com/tdeboissiere/195dde7fddfcf622a82a895b90d2c800).\r\n\r\nI could look into making a pull request with this new implementation if you think the speed gain is worth it.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/fchollet/keras/issues/comments/220800126","html_url":"https://github.com/fchollet/keras/issues/2730#issuecomment-220800126","issue_url":"https://api.github.com/repos/fchollet/keras/issues/2730","id":220800126,"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},"created_at":"2016-05-21T21:02:26Z","updated_at":"2016-05-21T21:02:26Z","body":"Sounds interesting. How safe is it?\r\n\r\nA PR would be welcome."}}
{"actor":{"display_login":"fchollet"}}