If you want to downsample segmentation produced from convnet output using only numpy, I have this technique to contribute :)<p><a href="https://towardsdatascience.com/countless-high-performance-2x-downsampling-of-labeled-images-using-python-and-numpy-e70ad3275589" rel="nofollow">https://towardsdatascience.com/countless-high-performance-2x...</a>