deep-image-prior

Image restoration with neural networks but without learning.

  • Owner: DmitryUlyanov/deep-image-prior
  • Platform:
  • License:: Other
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

Warning! The optimization may not converge on some GPUs. We've personally experienced issues on Tesla V100 and P40 GPUs. When running the code, make sure you get similar results to the paper first. Easiest to check using text inpainting notebook. Try to set double precision mode or turn off cudnn.

Deep image prior

In this repository we provide Jupyter Notebooks to reproduce each figure from the paper:

Deep Image Prior

CVPR 2018

Dmitry Ulyanov, Andrea Vedaldi, Victor Lempitsky

(https://sites.skoltech.ru/app/data/uploads/sites/25/2018/04/deep_image_prior.pdf) (https://box.skoltech.ru/index.php/s/ib52BOoV58ztuPM) (https://dmitryulyanov.github.io/deep_image_prior)

Here we provide hyperparameters and architectures, that were used to generate the figures. Most of them are far from optimal. Do not hesitate to change them and see the effect.

We will expand this README with a list of hyperparameters and options shortly.

Install

Here is the list of libraries you need to install to execute the code:

  • python = 3.6
  • pytorch = 0.4
  • numpy
  • scipy
  • matplotlib
  • scikit-image
  • jupyter

All of them can be installed via conda (anaconda), e.g.

conda install jupyter

or create an conda env with all dependencies via environment file

conda env create -f environment.yml

Docker image

Alternatively, you can use a Docker image that exposes a Jupyter Notebook with all required dependencies. To build this image ensure you have both docker and nvidia-docker installed, then run

nvidia-docker build -t deep-image-prior .

After the build you can start the container as

nvidia-docker run --rm -it --ipc=host -p 8888:8888 deep-image-prior

you will be provided an URL through which you can connect to the Jupyter notebook.

Citation

@article{UlyanovVL17,
    author    = {Ulyanov, Dmitry and Vedaldi, Andrea and Lempitsky, Victor},
    title     = {Deep Image Prior},
    journal   = {arXiv:1711.10925},
    year      = {2017}
}

Main metrics

Overview
Name With OwnerDmitryUlyanov/deep-image-prior
Primary LanguageJupyter Notebook
Program languageJupyter Notebook (Language Count: 3)
Platform
License:Other
所有者活动
Created At2017-11-29 22:33:00
Pushed At2023-04-27 03:47:44
Last Commit At2020-05-09 13:57:11
Release Count0
用户参与
Stargazers Count8k
Watchers Count227
Fork Count1.4k
Commits Count61
Has Issues Enabled
Issues Count98
Issue Open Count67
Pull Requests Count7
Pull Requests Open Count3
Pull Requests Close Count5
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private