Excluding the pixels it is trying to restore prevents the network from learning the identity. This exclusion can be achieved in several ways. The current most accurate method, S2S [1]}, uses partial convolutions, in the true spirit of image inpainting.
