{"action":"created","issue":{"url":"https://api.github.com/repos/fchollet/keras/issues/228","labels_url":"https://api.github.com/repos/fchollet/keras/issues/228/labels{/name}","comments_url":"https://api.github.com/repos/fchollet/keras/issues/228/comments","events_url":"https://api.github.com/repos/fchollet/keras/issues/228/events","html_url":"https://github.com/fchollet/keras/issues/228","id":88599584,"number":228,"title":"[Question] Spatial inputs?","user":{"login":"manugarri","id":3670355,"avatar_url":"https://avatars.githubusercontent.com/u/3670355?v=3","gravatar_id":"","url":"https://api.github.com/users/manugarri","html_url":"https://github.com/manugarri","followers_url":"https://api.github.com/users/manugarri/followers","following_url":"https://api.github.com/users/manugarri/following{/other_user}","gists_url":"https://api.github.com/users/manugarri/gists{/gist_id}","starred_url":"https://api.github.com/users/manugarri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manugarri/subscriptions","organizations_url":"https://api.github.com/users/manugarri/orgs","repos_url":"https://api.github.com/users/manugarri/repos","events_url":"https://api.github.com/users/manugarri/events{/privacy}","received_events_url":"https://api.github.com/users/manugarri/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-16T03:04:47Z","updated_at":"2015-06-18T19:00:01Z","closed_at":"2015-06-17T18:48:27Z","body":"Im trying to use some RGB images as an input. Is there any way to use 3dimensional (x,y, rgb)s arrays as the inputs?"},"comment":{"url":"https://api.github.com/repos/fchollet/keras/issues/comments/113258338","html_url":"https://github.com/fchollet/keras/issues/228#issuecomment-113258338","issue_url":"https://api.github.com/repos/fchollet/keras/issues/228","id":113258338,"user":{"login":"manugarri","id":3670355,"avatar_url":"https://avatars.githubusercontent.com/u/3670355?v=3","gravatar_id":"","url":"https://api.github.com/users/manugarri","html_url":"https://github.com/manugarri","followers_url":"https://api.github.com/users/manugarri/followers","following_url":"https://api.github.com/users/manugarri/following{/other_user}","gists_url":"https://api.github.com/users/manugarri/gists{/gist_id}","starred_url":"https://api.github.com/users/manugarri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manugarri/subscriptions","organizations_url":"https://api.github.com/users/manugarri/orgs","repos_url":"https://api.github.com/users/manugarri/repos","events_url":"https://api.github.com/users/manugarri/events{/privacy}","received_events_url":"https://api.github.com/users/manugarri/received_events","type":"User","site_admin":false},"created_at":"2015-06-18T19:00:01Z","updated_at":"2015-06-18T19:00:01Z","body":"im not sure i explained myself.\r\n\r\nThe image read with `scipy.misc.imread` provides a multidimensional array with the shape `(28, 28,3)` . \r\n\r\nThat is , 28px width by 28 pixels height by length 3 color RGB array.\r\n\r\nI reshaped that into a vector with dimensions (28*28,3), that is (784,3).\r\n\r\nOnce i put all the images together i get an X_train of dimension (N, 784, 3),  N being the number of sampled images.\r\n\r\nHow could i convert that np.array into a way that keras would accept?"}}