Spaces:
Runtime error
Runtime error
printing training data's pixel values with """print(f"{batch['pixel_values'].shape=}")"""
Browse files1892 unmodified lines1893189418951896189718981892 unmodified lineslatents_cache = []for batch in tqdm(train_dataloader, desc="Caching latents"):with torch.no_grad():batch["pixel_values"] = batch["pixel_values"].to(accelerator.device, non_blocking=True, dtype=torch.float32)1892 unmodified lines18931894189518961897189818991892 unmodified lineslatents_cache = []for batch in tqdm(train_dataloader, desc="Caching latents"):with torch.no_grad():print(f"{batch['pixel_values'].shape=}")batch["pixel_values"] = batch["pixel_values"].to(accelerator.device, non_blocking=True, dtype=torch.float32)
train_dreambooth_lora_sdxl_advanced.py+1