Skip to content

img2img not working with DDIM trailing or TCD #663

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wbruna opened this issue Apr 23, 2025 · 0 comments · May be fixed by #665
Open

img2img not working with DDIM trailing or TCD #663

wbruna opened this issue Apr 23, 2025 · 0 comments · May be fixed by #665

Comments

@wbruna
Copy link

wbruna commented Apr 23, 2025

This is on master-10c6501:

  1. ./sd --model SD/cyberrealisticSemi_v30.safetensors -W 384 --seed 1 -p 'red shirt' --sampling-method ddim_trailing -o base.png to create the base image (just to be sure DDIM itself is working)
  2. ./sd --model SD/cyberrealisticSemi_v30.safetensors -W 384 --seed 1 -p 'pink shirt' --mode img2img -i base.png --strength 0.1 --sampling-method euler -o i2i_euler_s1.png
  3. ./sd --model SD/cyberrealisticSemi_v30.safetensors -W 384 --seed 1 -p 'pink shirt' --mode img2img -i base.png --strength 0.6 --sampling-method euler -o i2i_euler_s6.png
  4. ./sd --model SD/cyberrealisticSemi_v30.safetensors -W 384 --seed 1 -p 'pink shirt' --mode img2img -i base.png --strength 0.1 --sampling-method tcd -o i2i_tcd_s1.png
  5. ./sd --model SD/cyberrealisticSemi_v30.safetensors -W 384 --seed 1 -p 'pink shirt' --mode img2img -i base.png --strength 0.6 --sampling-method ddim_trailing -o i2i_ddim_s6.png
base i2i_euler_s1 i2i_euler_s6 i2i_tcd_s1 i2i_ddim_s6
base.png i2i_euler_s1 i2i_euler_s6.png i2i_tcd_s1 i2i_ddim_s6.png

Both TCD and DDIM produce pretty much the same results for the same number of steps.

@yslai , any ideas?

@wbruna wbruna linked a pull request Apr 24, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant