My work is medical image segmentation, becasuse of its high image dimension. I always train the segmentation network with smaller patches. But this will lost the global info of the organs. So I’d like to use the whole  3D or 2D image to update the network during the last iteration of every epoch. But I am not sure that’s feasible and how to make it happen.