xkronosx commited on
Commit
25371c4
·
verified ·
1 Parent(s): aa315bb

Iteration 0

Browse files
checkpoints/checkpoint.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2082569776ff661092a8f569ac547bda561a052c9f09b7b885d52a9a85d75deb
3
+ size 127488502
checkpoints/model_index.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "DDPMPipeline",
3
+ "_diffusers_version": "0.27.2",
4
+ "scheduler": [
5
+ "diffusers",
6
+ "DDPMScheduler"
7
+ ],
8
+ "unet": [
9
+ "diffusers",
10
+ "UNet2DModel"
11
+ ]
12
+ }
checkpoints/scheduler/scheduler_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "DDPMScheduler",
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
+ }
checkpoints/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
+ }
checkpoints/unet/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b22a513831ebbf2eabf97c8d7a60a24d8d7564eb257e97a748d2ef0a1d099860
3
+ size 63608284
run_args.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"model": "UNet", "dataset": "mnist", "save_folder": "/network/scratch/l/luca.scimeca/gfn_generated_results/train_prior_ddpm-mnist-32_0/", "load_path": "/home/mila/l/luca.scimeca/projects/InvDiff/src/models/pretrained", "data_path": "/network/scratch/l/luca.scimeca/data", "prior_training_mode": "dpm", "pretrain_models": false, "replace": true, "baseline_reinforce": "whitening", "show_figures": false, "save_figures": true, "save_model_weights": false, "plot_batch_size": 30, "batched_rtb_size": 64, "rtb_batched_train": false, "exp_name": "train_prior_ddpm-mnist-32", "method": "rtb", "inv_task": "phase_retrieval", "reward_weight": 10, "kl_weight": 0.01, "particles": 10, "scale": 1.0, "channels": 1, "workers": 8, "epochs": 250000, "algo": "mle", "batch_size": 32, "test_batch_size": 50, "lr": 0.0001, "lr_logZ": 0.1, "z_weight_decay": 0, "energy_temperature": 1.0, "traj_length": 200, "sampling_length": 50, "learning_cutoff": 0.1, "learn_var": false, "loss_type": "l2", "accumulate_gradient_every": 1, "detach_freq": 0.0, "detach_cut_off": 1.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": "0", "classifier_model": "cnn", "classifier_depth": 10, "classifier_pretrained": false, "inverse_sample_number": 0, "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": true, "rank": 32, "push_to_hf": 1, "push_to_wandb": true, "notes": "", "seed": 912, "model_config": null, "diffusion_config": null, "task_config": null, "gpu": 0, "c_rate": 0.95, "particle_size": 1, "use_cuda": true, "device": "cuda", "system": "linux", "supported_datasets": ["mnist", "cifar10", "CelebA", "dsprites", "UTKFace", "domainnet-quickdraw", "ffhq"], "splits": ["train", "test"], "image_size": 32, "noise_size": 32, "x_tensor": "images", "y_tensor": "labels", "num_classes": 10, "block_out_channels": [32, 64, 128, 256], "fid_inception_block": 768}
samples/0000.png ADDED