Epoch 0
Browse files- .gitignore +2 -0
- logs/train/events.out.tfevents.1683096718.2f36ea522520.604.0 +3 -0
- model_index.json +12 -0
- params.json +52 -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_*
|
logs/train/events.out.tfevents.1683096718.2f36ea522520.604.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:84d4c078ea295c7704105315f710a391a0f99f26f566165f3f49bee8180c249d
|
3 |
+
size 1571002
|
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 |
+
"UNet2DConditionModel"
|
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-cond-1683096353",
|
9 |
+
"overwrite_output_dir": false,
|
10 |
+
"cache_dir": "data",
|
11 |
+
"resolution": 256,
|
12 |
+
"data_size": 13500,
|
13 |
+
"super_resolution": null,
|
14 |
+
"conditional": true,
|
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": "sample",
|
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": "sample",
|
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.17.0.dev0",
|
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 |
+
128,
|
10 |
+
256,
|
11 |
+
512,
|
12 |
+
512
|
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": 512,
|
20 |
+
"cross_attention_norm": null,
|
21 |
+
"down_block_types": [
|
22 |
+
"CrossAttnDownBlock2D",
|
23 |
+
"CrossAttnDownBlock2D",
|
24 |
+
"CrossAttnDownBlock2D",
|
25 |
+
"DownBlock2D"
|
26 |
+
],
|
27 |
+
"downsample_padding": 1,
|
28 |
+
"dual_cross_attention": false,
|
29 |
+
"encoder_hid_dim": 6,
|
30 |
+
"flip_sin_to_cos": true,
|
31 |
+
"freq_shift": 0,
|
32 |
+
"in_channels": 4,
|
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": 4,
|
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": 32,
|
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 |
+
"UpBlock2D",
|
54 |
+
"CrossAttnUpBlock2D",
|
55 |
+
"CrossAttnUpBlock2D",
|
56 |
+
"CrossAttnUpBlock2D"
|
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:90f5a27ea6902c8f4e0eda47ca672f0e5615180a941c4808971ead1b22d5ac61
|
3 |
+
size 559027201
|