denoising-diffusion-gan icon indicating copy to clipboard operation
denoising-diffusion-gan copied to clipboard

Image to Image

Open JigneshChowdary opened this issue 1 year ago • 4 comments

Hi can we use this code for image to image translation?

JigneshChowdary avatar Aug 01 '23 15:08 JigneshChowdary

I've got a fork with a script that can do img2img here: https://github.com/JCBrouwer/DenoisingDiffusionGAN

It's been a while since I've used it though, and I'm not sure if my version still supports loading in the original checkpoints from this repo, but maybe you'll be lucky. Otherwise it might be a good starting point...

JCBrouwer avatar Aug 01 '23 19:08 JCBrouwer

Thanks Hans,

Can you please specify the train/ test scripts for image to image.

With regards Jignesh

On Wed, Aug 2, 2023 at 1:26 AM Hans Brouwer @.***> wrote:

I've got a fork with a script that can do img2img here: https://github.com/JCBrouwer/DenoisingDiffusionGAN

It's been a while since I've used it though, and I'm not sure if my version still supports loading in the original checkpoints from this repo, but maybe you'll be lucky. Otherwise it might be a good starting point...

— Reply to this email directly, view it on GitHub https://github.com/NVlabs/denoising-diffusion-gan/issues/36#issuecomment-1660988814, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMHML6A3RNG6372FLVF2G63XTFNNDANCNFSM6AAAAAA276375Y . You are receiving this because you authored the thread.Message ID: @.***>

JigneshChowdary avatar Aug 04 '23 12:08 JigneshChowdary

The relevant test script is interpolate.py

The readme has a short description of the parameters, the relevant one for img2img is --init_video which allows the script to perform vid2vid transfer.

You can rewrite the script fairly easily to use a single image I think, but otherwise it should also "just work" if you make a 1 frame video haha

To load the official checkpoints you might need to set a couple of the "model related options" (towards the bottom of the list in the readme)

JCBrouwer avatar Aug 04 '23 15:08 JCBrouwer

Hi can we use this code for image to image translation?

Hi @JigneshChowdary , got any chance to make it work for image2image? Would be greatly appreciated if you could share ur trial.

qiangwang57 avatar Jan 05 '24 18:01 qiangwang57