alembics / disco-diffusion

Other
7.46k stars 1.13k forks source link

TypeError: ddim_sample_loop_progressive() got an unexpected keyword argument 'transformation_fn' #94

Closed Limbicnation closed 2 years ago

Limbicnation commented 2 years ago
Output()
Seed used: 1633703214
Traceback (most recent call last):
  File "disco.py", line 2607, in <module>
    do_run()
  File "disco.py", line 1338, in do_run
    samples = sample_fn(
TypeError: ddim_sample_loop_progressive() got an unexpected keyword argument 'transformation_fn'
aletts commented 2 years ago

If you're running locally and have previously cached the guided-diffusion code from https://github.com/crowsonkb/guided-diffusion/ , you'll need to instead clone from https://github.com/kostarion/guided-diffusion/ cut_pow added the transformation_fn functionality (required for v5.3's new symmetry implementation) under kostarion.

Limbicnation commented 2 years ago

@aletts Thank you very much! That solved the problem, great work!

BeaverInGreenland commented 2 years ago

If you're running locally and have previously cached the guided-diffusion code from https://github.com/crowsonkb/guided-diffusion/ , you'll need to instead clone from https://github.com/kostarion/guided-diffusion/ cut_pow added the transformation_fn functionality (required for v5.3's new symmetry implementation) under kostarion.

Hello, I met the same issue, but I don't have guided-diffusion within the disco-diffusion's folder. What should I do ? I cloned guided-diffusion within disco-diffusion. It didn't fix the problem

BeaverInGreenland commented 2 years ago

If you're running locally and have previously cached the guided-diffusion code from https://github.com/crowsonkb/guided-diffusion/ , you'll need to instead clone from https://github.com/kostarion/guided-diffusion/ cut_pow added the transformation_fn functionality (required for v5.3's new symmetry implementation) under kostarion.

Hello, I met the same issue, but I don't have guided-diffusion within the disco-diffusion's folder. What should I do ? I cloned guided-diffusion within disco-diffusion. It didn't fix the problem

I think I may have found a solution that works: