mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-29 07:22:12 +03:00
Update examples/cogvideo/train_cogvideox_lora.py
Co-authored-by: YiYi Xu <yixu310@gmail.com>
This commit is contained in:
@@ -1306,7 +1306,7 @@ def main(args):
|
||||
)
|
||||
|
||||
# Sample noise that will be added to the latents
|
||||
noise = torch.rand_like(model_input)
|
||||
noise = torch.randn_like(model_input)
|
||||
batch_size, num_frames, num_channels, height, width = model_input.shape
|
||||
|
||||
# Sample a random timestep for each image
|
||||
|
||||
Reference in New Issue
Block a user