Iteration 0
Browse files- model_index.json +12 -0
- run_args.json +1 -0
- samples/0000.png +0 -0
- scheduler/scheduler_config.json +19 -0
- unet/config.json +45 -0
- unet/diffusion_pytorch_model.safetensors +3 -0
model_index.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "DDPMPipeline",
|
3 |
+
"_diffusers_version": "0.27.2",
|
4 |
+
"scheduler": [
|
5 |
+
"utils.diffusers.schedulers.scheduling_ddpm_gfn",
|
6 |
+
"DDPMGFNScheduler"
|
7 |
+
],
|
8 |
+
"unet": [
|
9 |
+
"diffusers",
|
10 |
+
"UNet2DModel"
|
11 |
+
]
|
12 |
+
}
|
run_args.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"model": "UNet", "dataset": "mnist", "save_folder": "/network/scratch/l/luca.scimeca/gfn_generated_results/train_prior_mnist_unet_3/", "load_path": "./../models/pretrained", "data_path": "/network/scratch/l/luca.scimeca/data/", "prior_training_mode": "dpm", "pretrain_models": false, "replace": false, "show_figures": false, "save_figures": true, "save_model_weights": false, "plot_batch_size": 16, "exp_name": "train_prior_mnist_unet", "channels": 1, "workers": 8, "epochs": 250000, "algo": "mle", "batch_size": 64, "test_batch_size": 16, "lr": 0.0001, "lr_logZ": 0.1, "z_weight_decay": 0, "traj_length": 200, "sampling_length": 100, "learning_cutoff": 0.1, "learn_var": false, "loss_type": "l2", "accumulate_gradient_every": 1, "detach_freq": 0.0, "back_and_forth": false, "bf_length": 50, "drift_only": false, "drift_burn_in": 1000, "mixed_precision": false, "checkpointing": true, "multi_class_index": 0, "finetune_class": [0], "class_name": "not_specified", "classifier_model": "cnn", "classifier_depth": 18, "classifier_pretrained": false, "langevin": false, "lgv_clip": 100.0, "lgv_clipping": false, "lgv_t_dim": 64, "lgv_hidden_dim": 256, "lgv_num_layers": 3, "lgv_zero_init": false, "compute_fid": false, "num_fid_samples": 50000, "lora": false, "rank": 32, "push_to_hub": 1, "notes": "", "seed": 123, "use_cuda": true, "device": "cuda", "system": "linux", "supported_datasets": ["mnist", "cifar10", "UTKFace", "CelebA"], "image_size": 32, "noise_size": 32, "num_classes": 10, "block_out_channels": [32, 64, 128, 256]}
|
samples/0000.png
ADDED
![]() |
scheduler/scheduler_config.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "DDPMGFNScheduler",
|
3 |
+
"_diffusers_version": "0.27.2",
|
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": 200,
|
11 |
+
"prediction_type": "epsilon",
|
12 |
+
"rescale_betas_zero_snr": false,
|
13 |
+
"sample_max_value": 1.0,
|
14 |
+
"steps_offset": 0,
|
15 |
+
"thresholding": false,
|
16 |
+
"timestep_spacing": "leading",
|
17 |
+
"trained_betas": null,
|
18 |
+
"variance_type": "fixed_large"
|
19 |
+
}
|
unet/config.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "UNet2DModel",
|
3 |
+
"_diffusers_version": "0.27.2",
|
4 |
+
"act_fn": "silu",
|
5 |
+
"add_attention": true,
|
6 |
+
"attention_head_dim": 8,
|
7 |
+
"attn_norm_num_groups": null,
|
8 |
+
"block_out_channels": [
|
9 |
+
32,
|
10 |
+
64,
|
11 |
+
128,
|
12 |
+
256
|
13 |
+
],
|
14 |
+
"center_input_sample": false,
|
15 |
+
"class_embed_type": null,
|
16 |
+
"down_block_types": [
|
17 |
+
"DownBlock2D",
|
18 |
+
"AttnDownBlock2D",
|
19 |
+
"AttnDownBlock2D",
|
20 |
+
"AttnDownBlock2D"
|
21 |
+
],
|
22 |
+
"downsample_padding": 1,
|
23 |
+
"downsample_type": "conv",
|
24 |
+
"dropout": 0.0,
|
25 |
+
"flip_sin_to_cos": true,
|
26 |
+
"freq_shift": 0,
|
27 |
+
"in_channels": 1,
|
28 |
+
"layers_per_block": 2,
|
29 |
+
"mid_block_scale_factor": 1,
|
30 |
+
"norm_eps": 1e-05,
|
31 |
+
"norm_num_groups": 32,
|
32 |
+
"num_class_embeds": null,
|
33 |
+
"num_train_timesteps": null,
|
34 |
+
"out_channels": 1,
|
35 |
+
"resnet_time_scale_shift": "default",
|
36 |
+
"sample_size": 32,
|
37 |
+
"time_embedding_type": "positional",
|
38 |
+
"up_block_types": [
|
39 |
+
"AttnUpBlock2D",
|
40 |
+
"AttnUpBlock2D",
|
41 |
+
"AttnUpBlock2D",
|
42 |
+
"UpBlock2D"
|
43 |
+
],
|
44 |
+
"upsample_type": "conv"
|
45 |
+
}
|
unet/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8fd2a0b192132d8af53235dfa4c911611ec15e7c23426d0291c39d977f2e0094
|
3 |
+
size 63608284
|