cientgu / InstructDiffusion

PyTorch implementation of InstructDiffusion, a unifying and generic framework for aligning computer vision tasks with human instructions.
Other
389 stars 20 forks source link

uncond=0.05 is not used in get_input() as instrucrp2p #16

Open Sutongtong233 opened 9 months ago

Sutongtong233 commented 9 months ago

Hi, I see that in ./stable_diffusion/ldm/models/diffusion/ddpm_edit.py, params uncond=0.05 in def get_input( ) is not used, replaced with fixed 0.075: image Also, bug: @torch.no_grad() has been commented out.