I have a bunch of tiff images and my goal is to load those images into a numpy array to use it in my keras model in python 3. The problem is that when I turn my images into arrays, my computer froze. I tried to turn the images into array and save everything in a HDF5 format, now I tried to save only 1000 images and then I used the gc.collect() function to free some memory and then I did this same procedure until there was no images left, but it did not work as well.
So I would like to know an efficient way to get those images into my model. I have about 50.000 images in here. Can you help me? By the way, tensorflow does not support tiff images and my image has 8 bands and I would like to load all of them.
I have a bunch of tiff images and my goal is to load those images into a numpy array to use it in my keras model in python 3. The problem is that when I turn my images into arrays, my computer froze. I tried to turn the images into array and save everything in a HDF5 format, now I tried to save only 1000 images and then I used the gc.collect() function to free some memory and then I did this same procedure until there was no images left, but it did not work as well.
So I would like to know an efficient way to get those images into my model. I have about 50.000 images in here. Can you help me? By the way, tensorflow does not support tiff images and my image has 8 bands and I would like to load all of them.
--
You received this message because you are subscribed to the Google Groups "Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss+u...@tensorflow.org.
To view this discussion on the web visit https://groups.google.com/a/tensorflow.org/d/msgid/discuss/afe365ea-b8de-496c-8360-f5818f3644ab%40tensorflow.org.