You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks to your great work.
But I wonder how can perform style mixing using this code. I didn't see any part of code related to this, should I modify the code myself to achieve this?
The text was updated successfully, but these errors were encountered:
Hi, sorry for the late reply.
As you mentioned, the open-source code does not include style mixing.
You can implement style mixing by providing different prompt tokens for each layer
For example,
prompt="A painting of a bridge in the style of {}"prompt_style= [prompt.format(f"<17>-T{i}, <10>-T{i}, <22>-T{i}") foriinrange(6)]
...
output=pipeline(
prompt=prompt_style,
num_inference_steps=25,
cross_attention_kwargs=cross_attention_kwargs,
generator=torch.Generator(device=accelerator.device).manual_seed(seed)
).images[0]
Hi, thanks to your great work.
But I wonder how can perform style mixing using this code. I didn't see any part of code related to this, should I modify the code myself to achieve this?
The text was updated successfully, but these errors were encountered: