I want to train a deep learning network (CNN) for predicting numeric arrays (i.e response variable) using input images and have followed this image-regression documentation example.
The above example loads all images (after pre-processing) in a 4D-array in memory at once before network training. Loading 50k images is not feasible for me.
I have also checked the "augmentedImageDatastore" which resolves the memory issue. But during pre-processing, I want to crop each image using individual crop parameters which the "augmentedImageDatastore" does not support.
Please suggest a workaround to achieve this workflow.
Best Answer