I intend to feed neural net with image data. Originally I have them stored as a list of arrays with dims 10,10,3 (height, length, color channel).
and/or
You can use simplify2array
, which takes a list and returns an array.
my_images_arr <- simplify2array(my_list_of_cimg)
there after, make your data labels. keras
doesn't appear to require that your array object have a class
attribute, just be in a consistent form, in this case an array of images.