Upload config.yaml
Browse files- millionaid/config.yaml +55 -0
millionaid/config.yaml
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
experiment:
|
| 2 |
+
experiment_name: million_aid_05-24-2024_18-17-23-687720
|
| 3 |
+
exp_dir: under what experiment directory to put the save dir
|
| 4 |
+
save_dir: directory name, where all ckpt and images will be saved
|
| 5 |
+
wandb:
|
| 6 |
+
project: projectname
|
| 7 |
+
entity: your user name or entity
|
| 8 |
+
mode: online
|
| 9 |
+
model:
|
| 10 |
+
_target_: lightning_uq_box.uq_methods.DDPM
|
| 11 |
+
diffusion_model:
|
| 12 |
+
_target_: denoising_diffusion_pytorch.denoising_diffusion_pytorch.GaussianDiffusion
|
| 13 |
+
model:
|
| 14 |
+
_target_: denoising_diffusion_pytorch.denoising_diffusion_pytorch.Unet
|
| 15 |
+
dim: 64
|
| 16 |
+
dim_mults:
|
| 17 |
+
- 1
|
| 18 |
+
- 2
|
| 19 |
+
- 4
|
| 20 |
+
- 8
|
| 21 |
+
- 16
|
| 22 |
+
- 32
|
| 23 |
+
channels: 3
|
| 24 |
+
out_dim: 3
|
| 25 |
+
self_condition: true
|
| 26 |
+
image_size: 224
|
| 27 |
+
timesteps: 500
|
| 28 |
+
sampling_timesteps: 250
|
| 29 |
+
beta_schedule: cosine
|
| 30 |
+
log_samples_every_n_steps: 1000
|
| 31 |
+
optimizer:
|
| 32 |
+
_target_: torch.optim.Adam
|
| 33 |
+
_partial_: true
|
| 34 |
+
lr: 0.0001
|
| 35 |
+
datamodule:
|
| 36 |
+
_target_: millionaid_dm.MillionAIDDataModule
|
| 37 |
+
root: "path_to_dataset"
|
| 38 |
+
split: test
|
| 39 |
+
batch_size: 16
|
| 40 |
+
num_workers: 4
|
| 41 |
+
trainer:
|
| 42 |
+
_target_: lightning.pytorch.Trainer
|
| 43 |
+
accelerator: gpu
|
| 44 |
+
strategy: ddp
|
| 45 |
+
accumulate_grad_batches: 4
|
| 46 |
+
devices:
|
| 47 |
+
- 4
|
| 48 |
+
- 5
|
| 49 |
+
- 6
|
| 50 |
+
- 7
|
| 51 |
+
min_epochs: 800
|
| 52 |
+
max_epochs: 1000
|
| 53 |
+
log_every_n_steps: 50
|
| 54 |
+
enable_progress_bar: true
|
| 55 |
+
enable_checkpointing: true
|