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
# 6. Denoising loop
with self.progress_bar(total=len(timesteps)) as progress_bar:
for i, t in enumerate(timesteps):
....
`
inference code:
`
prompt_s = 'The image presents a serene and idyllic landscape, meticulously crafted to evoke a sense of tranquility and natural beauty. At the forefront, an array of vibrant wildflowers, including daisies with bright yellow centers and white petals, adds a splash of color against the lush green grass. The flowers are in sharp focus, suggesting they are closer to the viewer, while the background gradually fades into soft focus as it recedes into the distance.\n\nA calm pond occupies the center of the composition, its surface acting as a mirror that reflects the surrounding verdant hills, dotted with a variety of flowering plants. This reflection creates a symmetrical balance within the scene, enhancing its aesthetic appeal. A single butterfly is captured mid-flight above the water, adding a dynamic element to the otherwise still setting. Its wings are spread wide, showcasing a vivid pattern that contrasts with the smooth texture of the sky.\n\nThe sky itself is a canvas painted with broad strokes of blue, punctuated by fluffy white clouds that seem almost tangible. The sunlight filters through these clouds, casting gentle highlights on the landscape below and creating a play of light and shadow that adds depth to the scene. In the far distance, rolling hills fade into a misty haze, contributing to the sense of vastness and openness.\n\nThe overall style of the image is reminiscent of digital art or a high-quality illustration, characterized by its clarity, rich colors, and attention to detail. The use of perspective draws the eye from the foreground flowers towards the distant hills, inviting the viewer to explore this peaceful haven further. The absence of human presence emphasizes the untouched nature of this idyllic setting, making it feel like a hidden gem waiting to be discovered.'
sys_prompt = "You are an assistant designed to generate superior images with the superior degree of image-text alignment based on textual prompts or user prompts. "
with torch.no_grad():
i2i_generated_image = pipe(
prompt_s, system_prompt = sys_prompt, latents=out, strength = 0.30,
height=1024, width=1024, guidance_scale=7.5,
num_inference_steps=30, cfg_trunc_ratio=1, cfg_normalization=False,
generator=torch.Generator("cpu").manual_seed(0),
# output_type='latent'
).images[0]
# image# .save("lumina_demo.png")
i have try input latents of image into Lumina2Text2ImgPipeline, and only run the last 30% percent of denoising process
`
and get the result like below, how to make it more detail?
The text was updated successfully, but these errors were encountered: