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

How to generalize the personalize style photo #3

Open
YDyd11 opened this issue Sep 13, 2023 · 7 comments
Open

How to generalize the personalize style photo #3

YDyd11 opened this issue Sep 13, 2023 · 7 comments

Comments

@YDyd11
Copy link

YDyd11 commented Sep 13, 2023

PASD is very nice job!
I was trying to make a personalize style(toonyou) photo, the original photo is 000020x2.png in the folder samples. However, I have tried toonyou.safetensors in civatai, with pasd_rrdb/checkpoint-100000, --use_personalized_model, others as default. I can not generalize the beautiful photo just like you paper show. Can you tell me what are the parameters in personalized_model?
Thank you!

@yangxy
Copy link
Owner

yangxy commented Sep 13, 2023

Try python test_pasd.py --pasd_model_path runs/pasd_light/checkpoint-120000 --personalized_model_path toonyou_beta3.safetensors --use_personalized_model --use_pasd_light --conditioning_scale 0.7 --image_path samples/000020x2.png --upscale 1

For stylization task. please use pasd_light which is more generative. Set smaller value of --conditioning_scale and --upscale to produce better stylization effect.

@YDyd11
Copy link
Author

YDyd11 commented Sep 13, 2023 via email

@yangxy
Copy link
Owner

yangxy commented Sep 13, 2023

I am woking on it. Will be updated tomorrow.

@YDyd11
Copy link
Author

YDyd11 commented Sep 14, 2023 via email

@yangxy
Copy link
Owner

yangxy commented Sep 14, 2023

Updated. RRDB is widely used in SR task. pasd_rrdb is a version with heavier degradation module.

@zhanghongyong123456
Copy link

Try python test_pasd.py --pasd_model_path runs/pasd_light/checkpoint-120000 --personalized_model_path toonyou_beta3.safetensors --use_personalized_model --use_pasd_light --conditioning_scale 0.7 --image_path samples/000020x2.png --upscale 1

For stylization task. please use pasd_light which is more generative. Set smaller value of --conditioning_scale and --upscale to produce better stylization effect.

when i run cmd : python test_pasd.py --pasd_model_path runs/pasd_light/checkpoint-120000 --personalized_model_path toonyou_beta3.safetensors --use_personalized_model --use_pasd_light --conditioning_scale 0.7 --image_path samples/000020x2.png --upscale 1
i get this error:Linear.forward() got an unexpected keyword argument 'scale'
image

@sunzhe09
Copy link

Hi,can I use personalize style photo with lcm lora?

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

No branches or pull requests

4 participants