zhoulukuan opened a new issue #15339: How to read images into gluoncv from zip file? URL: https://github.com/apache/incubator-mxnet/issues/15339 I had to read images from the entire zip file because the number of images under a folder exceeds the limit of the Linux system. I used such code ``` import zipfile import numpy as np from PIL import Image import io import mxnet as mx z = zipfile.ZipFile("train.zip", "r") data = z.read(z.namelist()[0]) data = io.BytesIO(data) im = Image.open(data) im = np.asarray(img) im = mx.nd.array(im) ``` It seems that I get the BGR image which is similar with what I get when using `mx.image.imread(img_path, 1)` in gluoncv. But I am curious about whether such a reading method will encounter some problems when dealing with multiple processes. Is the speed very slow? Is there a better way to deal with this problem in mxnet?
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
