Safetensors

Add generative model checkpoints for Mask generation (DDPM) and CMRI generation (DDPM, LDM, FM)

#1
ddpm_model/model_index.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "SegGuidedDDPMPipeline",
3
+ "_diffusers_version": "0.35.2",
4
+ "scheduler": [
5
+ "diffusers",
6
+ "DDPMScheduler"
7
+ ],
8
+ "unet": [
9
+ "diffusers",
10
+ "UNet2DModel"
11
+ ]
12
+ }
ddpm_model/scheduler/scheduler_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "DDPMScheduler",
3
+ "_diffusers_version": "0.35.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": 1000,
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_small"
19
+ }
ddpm_model/unet/config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DModel",
3
+ "_diffusers_version": "0.35.2",
4
+ "_name_or_path": "ddpm-150-model-v2/unet",
5
+ "act_fn": "silu",
6
+ "add_attention": true,
7
+ "attention_head_dim": 8,
8
+ "attn_norm_num_groups": null,
9
+ "block_out_channels": [
10
+ 128,
11
+ 128,
12
+ 256,
13
+ 256,
14
+ 512,
15
+ 512
16
+ ],
17
+ "center_input_sample": false,
18
+ "class_embed_type": null,
19
+ "down_block_types": [
20
+ "DownBlock2D",
21
+ "DownBlock2D",
22
+ "DownBlock2D",
23
+ "DownBlock2D",
24
+ "AttnDownBlock2D",
25
+ "DownBlock2D"
26
+ ],
27
+ "downsample_padding": 1,
28
+ "downsample_type": "conv",
29
+ "dropout": 0.0,
30
+ "flip_sin_to_cos": true,
31
+ "freq_shift": 0,
32
+ "in_channels": 5,
33
+ "layers_per_block": 2,
34
+ "mid_block_scale_factor": 1,
35
+ "mid_block_type": "UNetMidBlock2D",
36
+ "norm_eps": 1e-05,
37
+ "norm_num_groups": 32,
38
+ "num_class_embeds": null,
39
+ "num_train_timesteps": null,
40
+ "out_channels": 1,
41
+ "resnet_time_scale_shift": "default",
42
+ "sample_size": 128,
43
+ "time_embedding_dim": null,
44
+ "time_embedding_type": "positional",
45
+ "up_block_types": [
46
+ "UpBlock2D",
47
+ "AttnUpBlock2D",
48
+ "UpBlock2D",
49
+ "UpBlock2D",
50
+ "UpBlock2D",
51
+ "UpBlock2D"
52
+ ],
53
+ "upsample_type": "conv"
54
+ }
ddpm_model/unet/ddpm_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c05b76ad4d93f0897b63e513caa9acc2b888b8f414e564628466a30cde7d635
3
+ size 454741100
fm_model/fm_model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16d7a540afefbb68ca98703dcb6adc574b542d4beb5f22ec2bfd25d0502b2ef0
3
+ size 1120534858
ldm_model/ldm_model.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b33a3d77fce171a000f4c948aadaf439a18de5f4691f7d3061fdf06ec8f87d9f
3
+ size 165808040
ldm_model/vqvae_autoencoder.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3edba23338e93457ffd2c1ce63f8631f6f25bef0ac7f172d868ec614c902be33
3
+ size 59705428
ldm_model/vqvae_discriminator.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3476d0d59421c1d5ef28b830cc7d0a80ffec5c3154f1da26d7c2ba35d667fce4
3
+ size 2654570
mask_model/mask_generation.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0482056875d7646c42da7219300c8e9bd57ad5f8051b3426c0caf1adf9b85e7
3
+ size 252760728