HyelinNAM / ContrastiveDenoisingScore

[CVPR2024] Official PyTorch implementation of "Contrastive Denoising Score(CDS) for Text-guided Latent Diffusion Image Editing"
https://arxiv.org/abs/2311.18608
88 stars 3 forks source link

Inquiry to implement gradient change in Fig.5 #8

Closed john09282922 closed 5 months ago

john09282922 commented 5 months ago

Hi, I would like to follow your gradient changes. How can I see the picture?

thanks, Jungmin

HyelinNAM commented 5 months ago

Hi Jungmin!

For gradient maps, I'm cannot remember exactly... but I think I just decode delta denoising score (epsilon difference) using below code and resize it. https://discuss.huggingface.co/t/decoding-latents-to-rgb-without-upscaling/23204/5

Hope these help you!

Best, Hyelin