{"action":"created","issue":{"url":"https://api.github.com/repos/fchollet/keras/issues/2126","repository_url":"https://api.github.com/repos/fchollet/keras","labels_url":"https://api.github.com/repos/fchollet/keras/issues/2126/labels{/name}","comments_url":"https://api.github.com/repos/fchollet/keras/issues/2126/comments","events_url":"https://api.github.com/repos/fchollet/keras/issues/2126/events","html_url":"https://github.com/fchollet/keras/issues/2126","id":144395550,"number":2126,"title":"ImageDataGenerator for testing","user":{"login":"FiReTiTi","id":6014800,"avatar_url":"https://avatars.githubusercontent.com/u/6014800?v=3","gravatar_id":"","url":"https://api.github.com/users/FiReTiTi","html_url":"https://github.com/FiReTiTi","followers_url":"https://api.github.com/users/FiReTiTi/followers","following_url":"https://api.github.com/users/FiReTiTi/following{/other_user}","gists_url":"https://api.github.com/users/FiReTiTi/gists{/gist_id}","starred_url":"https://api.github.com/users/FiReTiTi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FiReTiTi/subscriptions","organizations_url":"https://api.github.com/users/FiReTiTi/orgs","repos_url":"https://api.github.com/users/FiReTiTi/repos","events_url":"https://api.github.com/users/FiReTiTi/events{/privacy}","received_events_url":"https://api.github.com/users/FiReTiTi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-29T21:36:25Z","updated_at":"2016-03-30T03:06:15Z","closed_at":null,"body":"Hi,\r\nI've trained a CNN, and now I would like to test it on big images. So for each pixel of the test image, I need to cut a neighborhood window / patch of size NxN.\r\n\r\nIs that possible to use ImageDataGenerator (or an other function) to generate such batches of window/patches, and then use them into mymodel.predict_proba()?\r\nBecause I've seen example of ImageDataGenerator for training NNs, but it's not what I would need.\r\n\r\nThanks for your help."},"comment":{"url":"https://api.github.com/repos/fchollet/keras/issues/comments/203222701","html_url":"https://github.com/fchollet/keras/issues/2126#issuecomment-203222701","issue_url":"https://api.github.com/repos/fchollet/keras/issues/2126","id":203222701,"user":{"login":"EderSantana","id":3902480,"avatar_url":"https://avatars.githubusercontent.com/u/3902480?v=3","gravatar_id":"","url":"https://api.github.com/users/EderSantana","html_url":"https://github.com/EderSantana","followers_url":"https://api.github.com/users/EderSantana/followers","following_url":"https://api.github.com/users/EderSantana/following{/other_user}","gists_url":"https://api.github.com/users/EderSantana/gists{/gist_id}","starred_url":"https://api.github.com/users/EderSantana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EderSantana/subscriptions","organizations_url":"https://api.github.com/users/EderSantana/orgs","repos_url":"https://api.github.com/users/EderSantana/repos","events_url":"https://api.github.com/users/EderSantana/events{/privacy}","received_events_url":"https://api.github.com/users/EderSantana/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T03:06:15Z","updated_at":"2016-03-30T03:06:15Z","body":"try `model.evaluate_generator`"}}