gligen / GLIGEN

Open-Set Grounded Text-to-Image Generation
MIT License
1.91k stars 145 forks source link

GLIGEN with Canny Grounding #47

Open MatthewJeon opened 11 months ago

MatthewJeon commented 11 months ago

Thanks for your work! I am wondering if there is a way to convert canny grounding model in huggingface to ckpt format. I was trying to convert it with the code below.

https://github.com/huggingface/diffusers/blob/main/scripts/convert_diffusers_to_original_stable_diffusion.py

But this requires unet in side diffusion_pytorch_model.bin file. FileNotFoundError: [Errno 2] No such file or directory: './gligen_checkpoints/diffusion_pytorch_model.bin\unet\diffusion_pytorch_model.bin'