StreamDiffusion icon indicating copy to clipboard operation
StreamDiffusion copied to clipboard

poor image quality compared to AUTOMATIC1111

Open NaCloudAI opened this issue 1 year ago • 3 comments

image image

This reason seems to be lack of skip_clip and no negative prompt support, for txt2img will this be support in future?

NaCloudAI avatar Dec 22 '23 18:12 NaCloudAI

Thanks for the comment.

Try changing the value of t_index_list. By default cfg_type is set to none Change it to full and try it. (I recommend using a guidance_scale value around 1.0 ~ 1.5.)

We will discuss the implementation of clip_skip with our development team.

teftef6220 avatar Dec 23 '23 16:12 teftef6220

Thanks for the comment.

Try changing the value of t_index_list. By default cfg_type is set to none Change it to full and try it. (I recommend using a guidance_scale value around 1.0 ~ 1.5.)

We will discuss the implementation of clip_skip with our development team.

Thanks for the reply.

for txt2img it seems I am required to use cfg = none. Is there some way I could use cfg in txt2img?

for clip_skip, I found I can change it in pipeline.py in encoding_prompt function.

NaCloudAI avatar Dec 23 '23 19:12 NaCloudAI

Thanks for your insight.

Changing the cfg_type in txt2img is a bit of a challenge since it requires modifying the contents of the pipeline, but We will discuss this among developers. (Sorry, I misunderstood your question as img2img...)

As for clip_skip, if you can submit a PR, we will consider it and try to merge it into the clip_skip.

thank you

teftef6220 avatar Dec 24 '23 08:12 teftef6220