-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Work with SDXL? #8
Comments
Have not tested on the SDXL-beta version of AnimateDiff yet, but theoretically there would be no big difference. I took a quick look and found that the code of that branch is mostly identical to the main branch, so I suppose you can directly copy and paste part of the example code here (pipeline_animation.py, animate_with_freeinit.py) to that branch to see whether it works out. |
@TianxingWu Thanks for the reply! I tried it today and it doesn't seem that easy. # scripts/animate_with_freeinit.py
pipeline = load_weights(
pipeline,
motion_module_path = motion_module,
ckpt_path = model_config.get("dreambooth_path", ""),
lora_path = model_config.get("lora_model_path", ""),
lora_alpha = model_config.get("lora_alpha", 0.8),
).to("cuda") But when I run the script, it displayed error:
|
使用AnimateDiff的sdxl分支,跑freeinit代码,pipeline跑起来没有问题,但是由于Animatediff只能使用EulerDiscreteScheduler,而一旦使用DDIM就会效果奇差,但是freeinit使用EulerDiscreteScheduler,则会出纯黑图,想问下大佬知道里面的原因吗?或者能否请教下一些可能的改进方案,谢谢🙏 |
@gladzhang From my experience, the problem probably lies in the implementation of using diffusion forward proces to get the noisy latents
Please feel free to provide more details of your implementation if this does not solve your problem. |
@TianxingWu |
Impressive examples! Does it support SDXL?
The text was updated successfully, but these errors were encountered: