Simplified version of https://github.com/DmitryUlyanov/deep-image-prior
- So far, only inpainting has been implemented.
- No guarantees for exactly identical implementations.
- Install PyTorch, NumPy, Pillow and OpenCV (or uncomment the three lines with
cv2if you do not want the preview while training) - Run
inpaint.py
This will download the library test image and mask from https://github.com/DmitryUlyanov/deep-image-prior and inpaint the masked region.
| Masked image | Inpainted image |
|---|---|
![]() |
![]() |
@article{UlyanovVL17,
author = {Ulyanov, Dmitry and Vedaldi, Andrea and Lempitsky, Victor},
title = {Deep Image Prior},
journal = {arXiv:1711.10925},
year = {2017}
}

