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
[paper] [supmat] [project page]
Here is the list of libraries you need to install to execute the code:
- python = 3.11.2
- pytorch = 2.1.2+cu121
- 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
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.
