DmitryUlyanov / deep-image-prior

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

How should I save the image to harddisk ? #66

Open ghost opened 4 years ago

ghost commented 4 years ago

I am trying to run Inpainting It works very well. How should I save the repair done and save the original resolution image to the hard drive?

ABDOELSHEMY commented 4 years ago

same request here

YeHuanjie commented 2 years ago

here is my code: out_np = torch_to_np(out) out_pil = np_to_pil(out_np) outpil.save('./output/output' + '{}.jpg'.format(i))