Skip to content
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

Fix #3768 #3789

Merged
merged 2 commits into from
Nov 17, 2022
Merged

Fix #3768 #3789

merged 2 commits into from
Nov 17, 2022

Conversation

JunnYu
Copy link
Member

@JunnYu JunnYu commented Nov 17, 2022

PR types

Bug fixes

PR changes

others

Description

fix #3768

@JunnYu JunnYu requested a review from gongel November 17, 2022 02:33
gongel
gongel previously approved these changes Nov 17, 2022
@@ -427,7 +427,11 @@ def main(args):
os.path.join(args.pretrained_model_name_or_path, "tokenizer"))

# Load models and create wrapper for stable diffusion
text_encoder = AutoModel.from_pretrained(
if "Taiyi-Stable-Diffusion-1B-Chinese-v0.1" in args.pretrained_model_name_or_path:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if else能否去掉呢

@JunnYu JunnYu merged commit bfec1e7 into PaddlePaddle:develop Nov 17, 2022
@JunnYu JunnYu deleted the fix_bug branch November 17, 2022 03:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Question]: run the ppdiffusers/example/dreambooth issue
2 participants