Merge branch 'main' of https://huggingface.co/megamp15/WHITE_OR_MARKS_GUM_STAIN_CARDS
Browse files- .gitattributes +0 -1
- model_index.json +12 -12
- scheduler/scheduler_config.json +19 -19
- unet/config.json +54 -54
.gitattributes
CHANGED
@@ -38,4 +38,3 @@ samples/0049.png filter=lfs diff=lfs merge=lfs -text
|
|
38 |
samples/0074.png filter=lfs diff=lfs merge=lfs -text
|
39 |
samples/0099.png filter=lfs diff=lfs merge=lfs -text
|
40 |
samples/0124.png filter=lfs diff=lfs merge=lfs -text
|
41 |
-
samples/0149.png filter=lfs diff=lfs merge=lfs -text
|
|
|
38 |
samples/0074.png filter=lfs diff=lfs merge=lfs -text
|
39 |
samples/0099.png filter=lfs diff=lfs merge=lfs -text
|
40 |
samples/0124.png filter=lfs diff=lfs merge=lfs -text
|
|
model_index.json
CHANGED
@@ -1,12 +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 |
-
}
|
|
|
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 |
+
}
|
scheduler/scheduler_config.json
CHANGED
@@ -1,19 +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": 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 |
-
}
|
|
|
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": 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 |
+
}
|
unet/config.json
CHANGED
@@ -1,54 +1,54 @@
|
|
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 |
-
128,
|
10 |
-
128,
|
11 |
-
256,
|
12 |
-
256,
|
13 |
-
512,
|
14 |
-
512
|
15 |
-
],
|
16 |
-
"center_input_sample": false,
|
17 |
-
"class_embed_type": null,
|
18 |
-
"down_block_types": [
|
19 |
-
"DownBlock2D",
|
20 |
-
"DownBlock2D",
|
21 |
-
"DownBlock2D",
|
22 |
-
"DownBlock2D",
|
23 |
-
"AttnDownBlock2D",
|
24 |
-
"DownBlock2D"
|
25 |
-
],
|
26 |
-
"downsample_padding": 1,
|
27 |
-
"downsample_type": "conv",
|
28 |
-
"dropout": 0.0,
|
29 |
-
"flip_sin_to_cos": true,
|
30 |
-
"freq_shift": 0,
|
31 |
-
"in_channels": 3,
|
32 |
-
"layers_per_block": 2,
|
33 |
-
"mid_block_scale_factor": 1,
|
34 |
-
"norm_eps": 1e-05,
|
35 |
-
"norm_num_groups": 32,
|
36 |
-
"num_class_embeds": null,
|
37 |
-
"num_train_timesteps": null,
|
38 |
-
"out_channels": 3,
|
39 |
-
"resnet_time_scale_shift": "default",
|
40 |
-
"sample_size": [
|
41 |
-
160,
|
42 |
-
128
|
43 |
-
],
|
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 |
-
}
|
|
|
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 |
+
128,
|
10 |
+
128,
|
11 |
+
256,
|
12 |
+
256,
|
13 |
+
512,
|
14 |
+
512
|
15 |
+
],
|
16 |
+
"center_input_sample": false,
|
17 |
+
"class_embed_type": null,
|
18 |
+
"down_block_types": [
|
19 |
+
"DownBlock2D",
|
20 |
+
"DownBlock2D",
|
21 |
+
"DownBlock2D",
|
22 |
+
"DownBlock2D",
|
23 |
+
"AttnDownBlock2D",
|
24 |
+
"DownBlock2D"
|
25 |
+
],
|
26 |
+
"downsample_padding": 1,
|
27 |
+
"downsample_type": "conv",
|
28 |
+
"dropout": 0.0,
|
29 |
+
"flip_sin_to_cos": true,
|
30 |
+
"freq_shift": 0,
|
31 |
+
"in_channels": 3,
|
32 |
+
"layers_per_block": 2,
|
33 |
+
"mid_block_scale_factor": 1,
|
34 |
+
"norm_eps": 1e-05,
|
35 |
+
"norm_num_groups": 32,
|
36 |
+
"num_class_embeds": null,
|
37 |
+
"num_train_timesteps": null,
|
38 |
+
"out_channels": 3,
|
39 |
+
"resnet_time_scale_shift": "default",
|
40 |
+
"sample_size": [
|
41 |
+
160,
|
42 |
+
128
|
43 |
+
],
|
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 |
+
}
|