@ptrblck  I want to retrieve the axes (x, y) of each central pixel. when I get the patches, I get the central pixel and its axes. who plz
patches = image.extract_patches_2d(mat_gt['difftaille200'], ((5,5)))
labels_p=patches.reshape(patches.shape[0], patches.shape[1]*patches.shape[2])
labels=labels_p[:,12]

because I want to display the final image after the prediction.
the size of original image=100*100, I toolk 60%train , and 40%test
help me