Open aoke79 opened 6 months ago
@aoke79 please share the command you've run to get those images in optimum and in the benchmark?
Thank you!
python benchmark.py -d GPU --model "C:\AIGC\openvino\models\stable-diffusion-sdv1_5" --prompt_file "prompts/stable-diffusion.jsonl" -n 3 the model was converted from hugging-face runway stable diffusion.
@aoke79 Please check guidance_scale
in https://github.com/openvinotoolkit/openvino.genai/blob/master/llm_bench/python/prompts/stable-diffusion.jsonl. Could you try it with the value of 7.5
?
I have set up the same parameters for both cases. it should not be the root cause.
I've udpated the environments, like below, but the generated image is still wrong, nothing better. python -m pip install --upgrade pip pip install --pre -U openvino --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly
please refer what I've attached for the details. ov_pip_list.txt stable-diffusion.jsonl.txt
@Edward-Lin Please check above comment. guidance_scale 7.5
@Edward-Lin Please check above comment. guidance_scale 7.5
Have you ever tried? it did not work for me.
I've run the benchmark to test stable diffusion v1.5, but the quality of generated image is low. I doubted there are something computing wrong in the process. I compared it with optimum-intel. and set the same prompt, steps (20), resolution (512x512), and got very different quality image. please have a look at.