This does not seem to have anything to do with Theano.
On Sunday, July 23, 2017 at 10:32:08 AM UTC-4, Ali Alani wrote:
>
> I try to import the data of 3000 images to the data-frame each row
> corresponds to one image. the problem with following code is only the last
> image data store in the data-frame as shown below
>
>
>
>
> from PIL import Image
> import glob
> image_list = []
> for filename in glob.glob('Images path\*.bmp'):
> img = PIL.Image.open(filename).convert("L")
> np1 = numpy.array(img)
> np_convert=numpy.invert(np1)
> flat_arr = np_convert.ravel()
> vector = np.matrix(flat_arr)
> image_list.append(vector)
> df_2 = pd.DataFrame(vector)
>
>
>
> <https://lh3.googleusercontent.com/-ziiO24YkjLM/WXSzUcoVT8I/AAAAAAAAD0Q/hAJTSriCGmMsk15k9XHctn8R7XMr69tBACLcBGAs/s1600/Capture.JPG>
>
>
> Please, any help to import all data into data-frame will be highly
> appreciated
>
>
--
---
You received this message because you are subscribed to the Google Groups
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.