adammoss commited on
Commit
17cacd3
1 Parent(s): 563bf71
.gitignore ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ step_*
2
+ epoch_*
logs/train/events.out.tfevents.1683055949.5262e7963c15.1727.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:facea9a4d103bfc1d9eb2e29b73e6dce0676849651d89fd426062e3c8d89b52a
3
+ size 1439930
model_index.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "DDPMConditionPipeline",
3
+ "_diffusers_version": "0.17.0.dev0",
4
+ "scheduler": [
5
+ "diffusers",
6
+ "DDPMScheduler"
7
+ ],
8
+ "unet": [
9
+ "diffusers",
10
+ "UNet2DModel"
11
+ ]
12
+ }
params.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset_name": "Mtot_Nbody_SIMBA",
3
+ "dataset_config_name": null,
4
+ "dataset_conditional_name": null,
5
+ "model_config_name_or_path": null,
6
+ "vae_model": "stabilityai/sd-vae-ft-ema",
7
+ "train_data_dir": null,
8
+ "output_dir": "output/ddpm-ema-256-Mtot-Nbody-SIMBA-1683055770",
9
+ "overwrite_output_dir": false,
10
+ "cache_dir": "data",
11
+ "resolution": 256,
12
+ "data_size": 13500,
13
+ "super_resolution": null,
14
+ "conditional": false,
15
+ "center_crop": false,
16
+ "random_flip": false,
17
+ "train_batch_size": 32,
18
+ "eval_batch_size": 16,
19
+ "dataloader_num_workers": 0,
20
+ "num_epochs": 100,
21
+ "save_images_epochs": 10,
22
+ "save_model_epochs": 10,
23
+ "gradient_accumulation_steps": 1,
24
+ "learning_rate": 0.0001,
25
+ "lr_scheduler": "cosine",
26
+ "lr_warmup_steps": 500,
27
+ "adam_beta1": 0.95,
28
+ "adam_beta2": 0.999,
29
+ "adam_weight_decay": 1e-06,
30
+ "adam_epsilon": 1e-08,
31
+ "use_ema": true,
32
+ "ema_inv_gamma": 1.0,
33
+ "ema_power": 0.75,
34
+ "ema_max_decay": 0.9999,
35
+ "push_to_hub": true,
36
+ "hub_token": "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",
37
+ "hub_model_id": null,
38
+ "hub_private_repo": false,
39
+ "logger": "tensorboard",
40
+ "logging_dir": "logs",
41
+ "local_rank": -1,
42
+ "mixed_precision": "no",
43
+ "prediction_type": "epsilon",
44
+ "loss": "mse",
45
+ "ddpm_num_steps": 4000,
46
+ "ddpm_num_inference_steps": 4000,
47
+ "ddpm_beta_schedule": "linear",
48
+ "checkpointing_steps": 10000,
49
+ "checkpoints_total_limit": null,
50
+ "resume_from_checkpoint": null,
51
+ "enable_xformers_memory_efficient_attention": false
52
+ }
scheduler/scheduler_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "DDPMScheduler",
3
+ "_diffusers_version": "0.17.0.dev0",
4
+ "beta_end": 0.02,
5
+ "beta_schedule": "linear",
6
+ "beta_start": 0.0001,
7
+ "clip_sample": true,
8
+ "clip_sample_range": 1.0,
9
+ "dynamic_thresholding_ratio": 0.995,
10
+ "num_train_timesteps": 4000,
11
+ "prediction_type": "epsilon",
12
+ "sample_max_value": 1.0,
13
+ "thresholding": false,
14
+ "trained_betas": null,
15
+ "variance_type": "fixed_small"
16
+ }
unet/config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DModel",
3
+ "_diffusers_version": "0.17.0.dev0",
4
+ "act_fn": "silu",
5
+ "add_attention": true,
6
+ "attention_head_dim": 8,
7
+ "block_out_channels": [
8
+ 128,
9
+ 128,
10
+ 256,
11
+ 256,
12
+ 512,
13
+ 512
14
+ ],
15
+ "center_input_sample": false,
16
+ "class_embed_type": null,
17
+ "down_block_types": [
18
+ "DownBlock2D",
19
+ "DownBlock2D",
20
+ "DownBlock2D",
21
+ "DownBlock2D",
22
+ "AttnDownBlock2D",
23
+ "DownBlock2D"
24
+ ],
25
+ "downsample_padding": 1,
26
+ "flip_sin_to_cos": true,
27
+ "freq_shift": 0,
28
+ "in_channels": 4,
29
+ "layers_per_block": 2,
30
+ "mid_block_scale_factor": 1,
31
+ "norm_eps": 1e-05,
32
+ "norm_num_groups": 32,
33
+ "num_class_embeds": null,
34
+ "out_channels": 4,
35
+ "resnet_time_scale_shift": "default",
36
+ "sample_size": 32,
37
+ "time_embedding_type": "positional",
38
+ "up_block_types": [
39
+ "UpBlock2D",
40
+ "AttnUpBlock2D",
41
+ "UpBlock2D",
42
+ "UpBlock2D",
43
+ "UpBlock2D",
44
+ "UpBlock2D"
45
+ ]
46
+ }
unet/diffusion_pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2587bedcdbca9f1889053248cb15167829ced6b5eff106b0ce9142a05582c75
3
+ size 454876541