boschresearch / ALDM

Official implementation of "Adversarial Supervision Makes Layout-to-Image Diffusion Models Thrive" (ICLR 2024)
https://yumengli007.github.io/ALDM/
GNU Affero General Public License v3.0
52 stars 3 forks source link

optimizer_idx #4

Closed wangjin1234567891 closed 7 months ago

wangjin1234567891 commented 7 months ago

image I have a problem. Can you help me solve it?

YumengLi007 commented 7 months ago

maybe remove the optimizer_idx arguement in the following line? https://github.com/boschresearch/ALDM/blob/6360607957e038ec0c8ea656572dc6f56009157c/cldm_seg/cldm_seg_pixel_seg_enc_multiStep.py#L753

btw, the code is fine when using pytorch-lightning==1.4.2, if removing it cannot fix, maybe check the pytorch-lightning version :)

wangjin1234567891 commented 7 months ago

image Thanks, I changed pytorch-lightning from 1.5.0 to 1.4.2, that issue disappeared, but a new issue came up

YumengLi007 commented 7 months ago

Could you maybe also check the torch version?

wangjin1234567891 commented 7 months ago

That's taken care of, thank you.