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
>>> prompt = "A close-up shot captures a vibrant yellow scrubber vigorously working on a grimy plate, its bristles moving in circular motions to lift stubborn grease and food residue. The dish, once covered in remnants of a hearty meal, gradually reveals its original glossy surface. Suds form and bubble around the scrubber, creating a satisfying visual of cleanliness in progress. The sound of scrubbing fills the air, accompanied by the gentle clinking of the dish against the sink. As the scrubber continues its task, the dish transforms, gleaming under the bright kitchen lights, symbolizing the triumph of cleanliness over mess."
65
65
>>> negative_prompt = "The video captures a series of frames showing ugly scenes, static with no motion, motion blur, over-saturation, shaky footage, low resolution, grainy texture, pixelated images, poorly lit areas, underexposed and overexposed scenes, poor color balance, washed out colors, choppy sequences, jerky movements, low frame rate, artifacting, color banding, unnatural transitions, outdated special effects, fake elements, unconvincing visuals, poorly edited content, jump cuts, visual noise, and flickering. Overall, the video is of poor quality."
A scheduler to be used in combination with `transformer` to denoise the encoded image latents.
152
154
vae ([`AutoencoderKLWan`]):
153
155
Variational Auto-Encoder (VAE) Model to encode and decode videos to and from latent representations.
@@ -164,7 +166,7 @@ def __init__(
164
166
tokenizer: T5TokenizerFast,
165
167
transformer: CosmosTransformer3DModel,
166
168
vae: AutoencoderKLWan,
167
-
scheduler: FlowMatchEulerEDMCosmos2_0Scheduler,
169
+
scheduler: EDMEulerScheduler,
168
170
safety_checker: CosmosSafetyChecker=None,
169
171
):
170
172
super().__init__()
@@ -228,13 +230,13 @@ def _get_t5_prompt_embeds(
228
230
229
231
returnprompt_embeds
230
232
231
-
# Copied from diffusers.pipelines.cosmos.pipeline_cosmos_text2world.CosmosTextToWorldPipeline.encode_prompt
233
+
# Copied from diffusers.pipelines.cosmos.pipeline_cosmos_text2world.CosmosTextToWorldPipeline.encode_prompt with num_videos_per_prompt->num_images_per_prompt
0 commit comments