Epoch 0
Browse files- .gitignore +2 -0
- model_index.json +12 -0
- params.json +62 -0
- scheduler/scheduler_config.json +16 -0
- unet/config.json +46 -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 |
+
"UNet2DModel"
|
11 |
+
]
|
12 |
+
}
|
params.json
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"dataset_name": [
|
3 |
+
"Mtot_Nbody_SIMBA"
|
4 |
+
],
|
5 |
+
"dataset_config_name": null,
|
6 |
+
"dataset_conditional_name": null,
|
7 |
+
"model_config_name_or_path": null,
|
8 |
+
"base_channels": 64,
|
9 |
+
"cross_attention_dim": null,
|
10 |
+
"vae": null,
|
11 |
+
"vae_from_pretrained": null,
|
12 |
+
"vae_scaling_factor": null,
|
13 |
+
"train_data_dir": null,
|
14 |
+
"output_dir": "output/ddpm-128-sample-2000-sigmoid-run1",
|
15 |
+
"tag": [
|
16 |
+
"na1"
|
17 |
+
],
|
18 |
+
"overwrite_output_dir": false,
|
19 |
+
"cache_dir": "data",
|
20 |
+
"resolution": 128,
|
21 |
+
"data_size": 13500,
|
22 |
+
"super_resolution": null,
|
23 |
+
"local_resize": false,
|
24 |
+
"conditional": false,
|
25 |
+
"center_crop": false,
|
26 |
+
"random_flip": false,
|
27 |
+
"train_batch_size": 64,
|
28 |
+
"eval_batch_size": 16,
|
29 |
+
"dataloader_num_workers": 0,
|
30 |
+
"num_epochs": 200,
|
31 |
+
"save_images_epochs": 10,
|
32 |
+
"save_model_epochs": 10,
|
33 |
+
"gradient_accumulation_steps": 1,
|
34 |
+
"learning_rate": 0.0001,
|
35 |
+
"lr_scheduler": "cosine",
|
36 |
+
"lr_warmup_steps": 500,
|
37 |
+
"adam_beta1": 0.95,
|
38 |
+
"adam_beta2": 0.999,
|
39 |
+
"adam_weight_decay": 1e-06,
|
40 |
+
"adam_epsilon": 1e-08,
|
41 |
+
"use_ema": true,
|
42 |
+
"ema_inv_gamma": 1.0,
|
43 |
+
"ema_power": 0.75,
|
44 |
+
"ema_max_decay": 0.9999,
|
45 |
+
"push_to_hub": true,
|
46 |
+
"hub_token": null,
|
47 |
+
"hub_model_id": null,
|
48 |
+
"hub_private_repo": false,
|
49 |
+
"logger": "wandb",
|
50 |
+
"logging_dir": "logs",
|
51 |
+
"local_rank": -1,
|
52 |
+
"mixed_precision": "no",
|
53 |
+
"prediction_type": "sample",
|
54 |
+
"loss": "mse",
|
55 |
+
"ddpm_num_steps": 2000,
|
56 |
+
"ddpm_num_inference_steps": 2000,
|
57 |
+
"ddpm_beta_schedule": "sigmoid",
|
58 |
+
"checkpointing_steps": 10000,
|
59 |
+
"checkpoints_total_limit": null,
|
60 |
+
"resume_from_checkpoint": "latest",
|
61 |
+
"enable_xformers_memory_efficient_attention": false
|
62 |
+
}
|
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": "sigmoid",
|
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": 2000,
|
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,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "UNet2DModel",
|
3 |
+
"_diffusers_version": "0.16.1",
|
4 |
+
"act_fn": "silu",
|
5 |
+
"add_attention": true,
|
6 |
+
"attention_head_dim": 8,
|
7 |
+
"block_out_channels": [
|
8 |
+
64,
|
9 |
+
64,
|
10 |
+
128,
|
11 |
+
128,
|
12 |
+
256,
|
13 |
+
256
|
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": 1,
|
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": 1,
|
35 |
+
"resnet_time_scale_shift": "default",
|
36 |
+
"sample_size": 128,
|
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:3690c92ed0f657bb8e71370fbe012a89711d877125d8f635b6283f47cf70a178
|
3 |
+
size 113953789
|