Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,21 @@
|
|
1 |
---
|
2 |
license: cc-by-nc-4.0
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: cc-by-nc-4.0
|
3 |
---
|
4 |
+
#@markdown ####**Custom Model Settings:**
|
5 |
+
if diffusion_model == 'custom':
|
6 |
+
model_config.update({
|
7 |
+
'attention_resolutions': '32, 16, 8',
|
8 |
+
'class_cond': False,
|
9 |
+
'diffusion_steps': 1000,
|
10 |
+
'rescale_timesteps': True,
|
11 |
+
'image_size': 512,
|
12 |
+
'learn_sigma': True,
|
13 |
+
'noise_schedule': 'linear',
|
14 |
+
'num_channels': 128,
|
15 |
+
'num_heads': 4,
|
16 |
+
'num_res_blocks': 2,
|
17 |
+
'resblock_updown': True,
|
18 |
+
'use_checkpoint': use_checkpoint,
|
19 |
+
'use_fp16': True,
|
20 |
+
'use_scale_shift_norm': True,
|
21 |
+
})
|