Solved by eqy in post #6 
              
              
                In practice I don’t think 2.5 million images is unreasonable, as many models are trained on ImageNet (1.2 million images) these days with larger datasets floating around. However, by default ImageNet is usually distributed as an archive that is deserialized as many images on a filesystem so there is…