Methodtext2img(
self,
prompt: Union[str, List[str]],
height: int = 512,
width: int = 512,
diffusers/examples/community/stable_diffusion_mega.py:169
Methodtrain_lora(self, prompt, image, lora_step=100, lora_rank=16, generator=None)
diffusers/examples/community/sde_drag.py:207
Functiontrain_step(state, unet_params, text_encoder_params, vae_params, batch, train_rng)
diffusers/examples/controlnet/train_controlnet_flax.py:850