Skip to content

freaky-perceptron/Deep-image-prior

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deep Image Prior

This repositiory containes the PyTroch implementations of Methods proposed for Image Inpaiting and Image Denoising in the paper Deep Image Prior by Dmitry et al. .

Network used : Custom U-Net(Encoder-Decoder type)
Input for the model : Latent matrix z. (np.mggrid is used as per the guidelines in supplementary material)
Output of the model is image(recovered) of the same size of the corrupted image
Loss is calculated w.r.t. the corrupted image.
Note : While calculating the loss the mask is added to the output image too. so that effective loss is calculated over the Uncorrupted region and model learns the prior for the corrupted region.

Ablation study for Image Inpainting

Corrupted Images Recovered Images

Ablation study for Image Denoising

Note: The random(gaussian) noise is added in the same image ranging from 10% to 80%. In other words percentage number of pixels were removed from ground truth image in order to make the image noisy.

Noisy Images Denoised Images

The code is inspired from the Official implementation of dmitry et al.

About

This repo contains the implementation of models and different image inpainting related material

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published