{"action":"created","issue":{"url":"https://api.github.com/repos/fchollet/keras/issues/3379","repository_url":"https://api.github.com/repos/fchollet/keras","labels_url":"https://api.github.com/repos/fchollet/keras/issues/3379/labels{/name}","comments_url":"https://api.github.com/repos/fchollet/keras/issues/3379/comments","events_url":"https://api.github.com/repos/fchollet/keras/issues/3379/events","html_url":"https://github.com/fchollet/keras/pull/3379","id":168858639,"number":3379,"title":"remove keyword for cifar10.load_data","user":{"login":"oeway","id":478667,"avatar_url":"https://avatars.githubusercontent.com/u/478667?v=3","gravatar_id":"","url":"https://api.github.com/users/oeway","html_url":"https://github.com/oeway","followers_url":"https://api.github.com/users/oeway/followers","following_url":"https://api.github.com/users/oeway/following{/other_user}","gists_url":"https://api.github.com/users/oeway/gists{/gist_id}","starred_url":"https://api.github.com/users/oeway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oeway/subscriptions","organizations_url":"https://api.github.com/users/oeway/orgs","repos_url":"https://api.github.com/users/oeway/repos","events_url":"https://api.github.com/users/oeway/events{/privacy}","received_events_url":"https://api.github.com/users/oeway/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-02T11:03:52Z","updated_at":"2016-08-02T12:51:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fchollet/keras/pulls/3379","html_url":"https://github.com/fchollet/keras/pull/3379","diff_url":"https://github.com/fchollet/keras/pull/3379.diff","patch_url":"https://github.com/fchollet/keras/pull/3379.patch"},"body":"Just a minor fix in the document."},"comment":{"url":"https://api.github.com/repos/fchollet/keras/issues/comments/236894239","html_url":"https://github.com/fchollet/keras/pull/3379#issuecomment-236894239","issue_url":"https://api.github.com/repos/fchollet/keras/issues/3379","id":236894239,"user":{"login":"oeway","id":478667,"avatar_url":"https://avatars.githubusercontent.com/u/478667?v=3","gravatar_id":"","url":"https://api.github.com/users/oeway","html_url":"https://github.com/oeway","followers_url":"https://api.github.com/users/oeway/followers","following_url":"https://api.github.com/users/oeway/following{/other_user}","gists_url":"https://api.github.com/users/oeway/gists{/gist_id}","starred_url":"https://api.github.com/users/oeway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oeway/subscriptions","organizations_url":"https://api.github.com/users/oeway/orgs","repos_url":"https://api.github.com/users/oeway/repos","events_url":"https://api.github.com/users/oeway/events{/privacy}","received_events_url":"https://api.github.com/users/oeway/received_events","type":"User","site_admin":false},"created_at":"2016-08-02T12:51:11Z","updated_at":"2016-08-02T12:51:11Z","body":"The example still failed after this fix, we need to convert X_train etc. to np.float64 somewhere in order to use ImageDataGenerator. Any idea about the best way to do that?\r\n\r\n```python\r\nTypeError                                 Traceback (most recent call last)\r\n----> 1 datagen.fit(X_train)\r\n\r\n/Users/Will/keras/keras/preprocessing/image.py in fit(self, X, augment, rounds, seed)\r\n    391         if self.featurewise_center:\r\n    392             self.mean = np.mean(X, axis=0)\r\n--> 393             X -= self.mean\r\n    394 \r\n    395         if self.featurewise_std_normalization:\r\n\r\nTypeError: Cannot cast ufunc subtract output from dtype('float64') to dtype('uint8') with casting rule 'same_kind'\r\n```"}}
{"actor":{"display_login":"oeway"}}