Iterating over Image feature columns is extremely slow

Thanks for the reply, that’s an important point I missed! I’m quite new to the world of images so I don’t know how well I can contribute.
Wondering if it’s possible to bring more speedup to image loading. For example, loading pixel values from bytes in a memory-mapped file (e.g., using np.memmap, np.frombuffer) and using Image.fromarray (if necessary) is still significantly faster than either methods

1 Like