DmitryUlyanov / deep-image-prior

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

How to run notebook with my image? #91

Open semel1 opened 3 years ago

semel1 commented 3 years ago

How to run notebook (let's say "restoration") with my uploaded image?

titospadini commented 2 years ago

How to run notebook (let's say "restoration") with my uploaded image?

Considering you suggested the "restoration" Notebook, there is a section named "Choose figure".

You will have to set the variable "f" to your uploaded image's path, so, instead of using './data/restoration/barbara.png', you will use your uploaded image's path right there. And you will also need to set another proper "elif" entry for that "if... elif... else" that comes next, at the very same section. And, finally, you will also need to set another proper "elif" entry for the "if... elif... else" at the section named "Set up everything".

I believe that is it.