It seems you’ve reshaped/transposed the saved image somehow, so that the pixel positions do not match anymore.
I could somehow restore it with:
x = torch.load('patchclean.pth')
permute = [2, 1, 0]
x = x[permute, :, :]
y = x.numpy()
a = y.flatten()
a = a.reshape(224, 224, 3)
plt.imshow(a)

You can see some persons, but the colors are still inverted.
Could you explain how you’ve loaded and saved the image?