| { |
| "pretrained_model_name_or_path": "PixArt-alpha/PixArt-Sigma-XL-2-512-MS", |
| "t5_model_path": "PixArt-alpha/pixart_sigma_sdxlvae_T5_diffusers", |
| "vae_path": "./HF_VERSION_WEIGHTS/kl_vae", |
| "revision": null, |
| "variant": null, |
| "cache_dir": null, |
| "data_dir": "../data/coco", |
| "caption_file_train": "caption_train.json", |
| "caption_file_val": "caption_val.json", |
| "images_dir": "images", |
| "max_captions_per_image": 5, |
| "results_root": "RESULTS", |
| "seed": 42, |
| "resolution": 512, |
| "train_batch_size": 4, |
| "max_train_steps": 30000, |
| "num_train_epochs": 1, |
| "gradient_accumulation_steps": 1, |
| "gradient_checkpointing": false, |
| "learning_rate": 1e-05, |
| "scale_lr": false, |
| "lr_scheduler": "cosine", |
| "lr_warmup_steps": 500, |
| "lr_num_cycles": 1, |
| "adam_beta1": 0.9, |
| "adam_beta2": 0.999, |
| "adam_weight_decay": 0.01, |
| "adam_epsilon": 1e-08, |
| "max_grad_norm": 1.0, |
| "mixed_precision": "bf16", |
| "checkpointing_steps": 2000, |
| "checkpoints_total_limit": 3, |
| "resume_from_checkpoint": null, |
| "validation_steps": 1000, |
| "validation_prompts_file": null, |
| "log_every_n_steps": 50, |
| "max_sequence_length": 300, |
| "dataloader_num_workers": 4, |
| "output_dir": "RESULTS/coco/run_008" |
| } |