Epoch 0
Browse files- .gitignore +2 -0
- model_index.json +12 -0
- params.json +59 -0
- scheduler/scheduler_config.json +16 -0
- unet/config.json +60 -0
- unet/diffusion_pytorch_model.bin +3 -0
.gitignore
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
step_*
|
2 |
+
epoch_*
|
model_index.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "DDPMConditionPipeline",
|
3 |
+
"_diffusers_version": "0.16.1",
|
4 |
+
"scheduler": [
|
5 |
+
"diffusers",
|
6 |
+
"DDPMScheduler"
|
7 |
+
],
|
8 |
+
"unet": [
|
9 |
+
"diffusers",
|
10 |
+
"UNet2DConditionModel"
|
11 |
+
]
|
12 |
+
}
|
params.json
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"dataset_name": [
|
3 |
+
"Mtot_Nbody_SIMBA",
|
4 |
+
"Mgas_SIMBA"
|
5 |
+
],
|
6 |
+
"dataset_config_name": null,
|
7 |
+
"dataset_conditional_name": null,
|
8 |
+
"model_config_name_or_path": null,
|
9 |
+
"base_channels": 64,
|
10 |
+
"cross_attention_dim": null,
|
11 |
+
"vae": null,
|
12 |
+
"vae_from_pretrained": null,
|
13 |
+
"vae_scaling_factor": null,
|
14 |
+
"train_data_dir": null,
|
15 |
+
"output_dir": "output/ddpm-ema-256-Mtot-Nbody-SIMBA-Mgas-SIMBA-cond-SR4-1685992782",
|
16 |
+
"overwrite_output_dir": false,
|
17 |
+
"cache_dir": "data",
|
18 |
+
"resolution": 256,
|
19 |
+
"data_size": 13500,
|
20 |
+
"super_resolution": 4,
|
21 |
+
"conditional": true,
|
22 |
+
"center_crop": false,
|
23 |
+
"random_flip": false,
|
24 |
+
"train_batch_size": 8,
|
25 |
+
"eval_batch_size": 8,
|
26 |
+
"dataloader_num_workers": 0,
|
27 |
+
"num_epochs": 200,
|
28 |
+
"save_images_epochs": 10,
|
29 |
+
"save_model_epochs": 10,
|
30 |
+
"gradient_accumulation_steps": 8,
|
31 |
+
"learning_rate": 0.0001,
|
32 |
+
"lr_scheduler": "cosine",
|
33 |
+
"lr_warmup_steps": 500,
|
34 |
+
"adam_beta1": 0.95,
|
35 |
+
"adam_beta2": 0.999,
|
36 |
+
"adam_weight_decay": 1e-06,
|
37 |
+
"adam_epsilon": 1e-08,
|
38 |
+
"use_ema": true,
|
39 |
+
"ema_inv_gamma": 1.0,
|
40 |
+
"ema_power": 0.75,
|
41 |
+
"ema_max_decay": 0.9999,
|
42 |
+
"push_to_hub": true,
|
43 |
+
"hub_token": "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",
|
44 |
+
"hub_model_id": null,
|
45 |
+
"hub_private_repo": false,
|
46 |
+
"logger": "wandb",
|
47 |
+
"logging_dir": "logs",
|
48 |
+
"local_rank": -1,
|
49 |
+
"mixed_precision": "no",
|
50 |
+
"prediction_type": "epsilon",
|
51 |
+
"loss": "mse",
|
52 |
+
"ddpm_num_steps": 1000,
|
53 |
+
"ddpm_num_inference_steps": 1000,
|
54 |
+
"ddpm_beta_schedule": "squaredcos_cap_v2",
|
55 |
+
"checkpointing_steps": 5000,
|
56 |
+
"checkpoints_total_limit": null,
|
57 |
+
"resume_from_checkpoint": "latest",
|
58 |
+
"enable_xformers_memory_efficient_attention": false
|
59 |
+
}
|
scheduler/scheduler_config.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "DDPMScheduler",
|
3 |
+
"_diffusers_version": "0.16.1",
|
4 |
+
"beta_end": 0.02,
|
5 |
+
"beta_schedule": "squaredcos_cap_v2",
|
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": 1000,
|
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,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "UNet2DConditionModel",
|
3 |
+
"_diffusers_version": "0.16.1",
|
4 |
+
"act_fn": "silu",
|
5 |
+
"addition_embed_type": null,
|
6 |
+
"addition_embed_type_num_heads": 64,
|
7 |
+
"attention_head_dim": 8,
|
8 |
+
"block_out_channels": [
|
9 |
+
64,
|
10 |
+
128,
|
11 |
+
192,
|
12 |
+
256
|
13 |
+
],
|
14 |
+
"center_input_sample": false,
|
15 |
+
"class_embed_type": null,
|
16 |
+
"class_embeddings_concat": false,
|
17 |
+
"conv_in_kernel": 3,
|
18 |
+
"conv_out_kernel": 3,
|
19 |
+
"cross_attention_dim": 256,
|
20 |
+
"cross_attention_norm": null,
|
21 |
+
"down_block_types": [
|
22 |
+
"DownBlock2D",
|
23 |
+
"DownBlock2D",
|
24 |
+
"DownBlock2D",
|
25 |
+
"CrossAttnDownBlock2D"
|
26 |
+
],
|
27 |
+
"downsample_padding": 1,
|
28 |
+
"dual_cross_attention": false,
|
29 |
+
"encoder_hid_dim": 7,
|
30 |
+
"flip_sin_to_cos": true,
|
31 |
+
"freq_shift": 0,
|
32 |
+
"in_channels": 2,
|
33 |
+
"layers_per_block": 2,
|
34 |
+
"mid_block_only_cross_attention": null,
|
35 |
+
"mid_block_scale_factor": 1,
|
36 |
+
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
37 |
+
"norm_eps": 1e-05,
|
38 |
+
"norm_num_groups": 32,
|
39 |
+
"num_class_embeds": null,
|
40 |
+
"only_cross_attention": false,
|
41 |
+
"out_channels": 1,
|
42 |
+
"projection_class_embeddings_input_dim": null,
|
43 |
+
"resnet_out_scale_factor": 1.0,
|
44 |
+
"resnet_skip_time_act": false,
|
45 |
+
"resnet_time_scale_shift": "default",
|
46 |
+
"sample_size": 256,
|
47 |
+
"time_cond_proj_dim": null,
|
48 |
+
"time_embedding_act_fn": null,
|
49 |
+
"time_embedding_dim": null,
|
50 |
+
"time_embedding_type": "positional",
|
51 |
+
"timestep_post_act": null,
|
52 |
+
"up_block_types": [
|
53 |
+
"CrossAttnUpBlock2D",
|
54 |
+
"UpBlock2D",
|
55 |
+
"UpBlock2D",
|
56 |
+
"UpBlock2D"
|
57 |
+
],
|
58 |
+
"upcast_attention": false,
|
59 |
+
"use_linear_projection": false
|
60 |
+
}
|
unet/diffusion_pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2d43591acc16133f48f30e539bd88704934e2affe48a3e0d4045c4d70c4acef0
|
3 |
+
size 113930213
|