-
Notifications
You must be signed in to change notification settings - Fork 126
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
[ppdiffusers] mixture canvas pipeline #391
Conversation
Thanks for your contribution! |
num_train_timesteps=1000, | ||
) | ||
pipeline = StableDiffusionCanvasPipeline.from_pretrained( | ||
"CompVis/stable-diffusion-v1-4", scheduler=scheduler, use_auth_token=True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use_auth_token=True 这个可以删了
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DONE
提交的时候使用 pre-commit 格式化一下代码,详细参考 这种使用方式。https://github.com/PaddlePaddle/PaddleNLP/blob/develop/CONTRIBUTING.md#6-commit |
DONE, Thks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
### 新增 Mixture Canvas pipeline PaddlePaddle#253 ppdiffusers输入图像和生成图像如下: ![Input_Image](https://github.com/PaddlePaddle/PaddleMIX/assets/46399096/b449a867-2dfb-4016-b5fd-75fc41bcf4ab) ![mixture_canvas_results](https://github.com/PaddlePaddle/PaddleMIX/assets/46399096/57ee99bf-98a3-49c3-8c9b-021c02115372) 与[diffusers生成结果](https://github.com/huggingface/diffusers/tree/main/examples/community#stable-diffusion-mixture-canvas)相当。
新增 Mixture Canvas pipeline #253
ppdiffusers输入图像和生成图像如下:
与diffusers生成结果相当。