DmitryUlyanov / deep-image-prior

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

How should I save the image to harddisk ? #66

Open ghost opened 5 years ago

ghost commented 5 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 5 years ago

same request here

YeHuanjie commented 3 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))