DmitryUlyanov / deep-image-prior

Image restoration with neural networks but without learning.
https://dmitryulyanov.github.io/deep_image_prior
Other
7.9k stars 1.43k forks source link

Restoration not working without mask. #28

Closed 12345pnp closed 6 years ago

12345pnp commented 6 years ago

I took the mask as blank image, and the noisy barbara image as the input. The restoration doesn't work this way. Why is mask_var included in the loss function?

image

image

The restoration works by this number of iterations, if the same mask is taken separately.

DmitryUlyanov commented 6 years ago

The mask is necessary in the restoration task. Please refer to the paper.