Upload DDPMPipeline
Browse files- model_index.json +12 -0
- scheduler/scheduler_config.json +18 -0
- unet/config.json +34 -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.24.0",
|
| 4 |
+
"scheduler": [
|
| 5 |
+
"diffusers",
|
| 6 |
+
"DDPMScheduler"
|
| 7 |
+
],
|
| 8 |
+
"unet": [
|
| 9 |
+
"diffusers",
|
| 10 |
+
"UNet1DModel"
|
| 11 |
+
]
|
| 12 |
+
}
|
scheduler/scheduler_config.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "DDPMScheduler",
|
| 3 |
+
"_diffusers_version": "0.24.0",
|
| 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 |
+
"sample_max_value": 1.0,
|
| 13 |
+
"steps_offset": 0,
|
| 14 |
+
"thresholding": false,
|
| 15 |
+
"timestep_spacing": "leading",
|
| 16 |
+
"trained_betas": null,
|
| 17 |
+
"variance_type": "fixed_small"
|
| 18 |
+
}
|
unet/config.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "UNet1DModel",
|
| 3 |
+
"_diffusers_version": "0.24.0",
|
| 4 |
+
"act_fn": null,
|
| 5 |
+
"block_out_channels": [
|
| 6 |
+
32,
|
| 7 |
+
32,
|
| 8 |
+
64
|
| 9 |
+
],
|
| 10 |
+
"down_block_types": [
|
| 11 |
+
"DownBlock1DNoSkip",
|
| 12 |
+
"DownBlock1D",
|
| 13 |
+
"AttnDownBlock1D"
|
| 14 |
+
],
|
| 15 |
+
"downsample_each_block": false,
|
| 16 |
+
"extra_in_channels": 16,
|
| 17 |
+
"flip_sin_to_cos": true,
|
| 18 |
+
"freq_shift": 0.0,
|
| 19 |
+
"in_channels": 2,
|
| 20 |
+
"layers_per_block": 1,
|
| 21 |
+
"mid_block_type": "UNetMidBlock1D",
|
| 22 |
+
"norm_num_groups": 8,
|
| 23 |
+
"out_block_type": null,
|
| 24 |
+
"out_channels": 2,
|
| 25 |
+
"sample_rate": null,
|
| 26 |
+
"sample_size": 128,
|
| 27 |
+
"time_embedding_type": "fourier",
|
| 28 |
+
"up_block_types": [
|
| 29 |
+
"AttnUpBlock1D",
|
| 30 |
+
"UpBlock1D",
|
| 31 |
+
"UpBlock1DNoSkip"
|
| 32 |
+
],
|
| 33 |
+
"use_timestep_embedding": false
|
| 34 |
+
}
|
unet/diffusion_pytorch_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c9b39596c12433407e6a6c026d8e573537ff3fc695fb18cbbe7f7b233e164474
|
| 3 |
+
size 2879088
|