How to train on dataset of large images

Not for segmentation but for classification, I am working on (really very) large images by extracting tiles of a reasonable size and then combine results.