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

pangu draw3.0在gpu上的运行结果和demo有差距 #322

Open
Yuezeyi opened this issue Jan 29, 2024 · 1 comment
Open

pangu draw3.0在gpu上的运行结果和demo有差距 #322

Yuezeyi opened this issue Jan 29, 2024 · 1 comment
Assignees

Comments

@Yuezeyi
Copy link

Yuezeyi commented Jan 29, 2024

使用GPU A100 python3.8 mindspore 2.2.10
按照示例的脚本跑的文生图,只改了ms_mode,gpu上好像只有ms mode为0可以跑出结果
脚本如下,跑了两张图
export MS_PYNATIVE_GE=1
python pangu_sampling.py
--device_target "GPU"
--ms_mode 0
--ms_amp_level "O2"
--config "configs/inference/pangu_sd_xl_base.yaml"
--high_solution
--weight "./pangu_low_timestamp-127da122.ckpt"
--high_timestamp_weight "./pangu_high_timestamp-c6344411.ckpt"
--prompt "一幅中国水墨画:一叶轻舟漂泊在波光粼粼的湖面上,舟上的人正在饮酒放歌"
或者--prompt "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
跑出来的结果看起来和示例是相似的,但是清晰度和完成度差距很大,是有什么别的参数需要调整吗?结果如下图
000000001

000000000

@vigo999
Copy link
Contributor

vigo999 commented Feb 8, 2024

当前效果是在ascend上面调的。GPU还没调。

@vigo999 vigo999 self-assigned this Feb 8, 2024
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

2 participants