Upload config.yaml with huggingface_hub
Browse files- config.yaml +49 -0
config.yaml
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model:
|
| 2 |
+
base_learning_rate: 4.5e-06
|
| 3 |
+
target: ldm.models.autoencoder.VQModel
|
| 4 |
+
params:
|
| 5 |
+
embed_dim: 8
|
| 6 |
+
n_embed: 16384
|
| 7 |
+
ddconfig:
|
| 8 |
+
double_z: false
|
| 9 |
+
z_channels: 8
|
| 10 |
+
resolution: 256
|
| 11 |
+
in_channels: 3
|
| 12 |
+
out_ch: 3
|
| 13 |
+
ch: 128
|
| 14 |
+
ch_mult:
|
| 15 |
+
- 1
|
| 16 |
+
- 1
|
| 17 |
+
- 2
|
| 18 |
+
- 2
|
| 19 |
+
- 4
|
| 20 |
+
num_res_blocks: 2
|
| 21 |
+
attn_resolutions:
|
| 22 |
+
- 16
|
| 23 |
+
dropout: 0.0
|
| 24 |
+
lossconfig:
|
| 25 |
+
target: taming.modules.losses.vqperceptual.VQLPIPSWithDiscriminator
|
| 26 |
+
params:
|
| 27 |
+
disc_conditional: false
|
| 28 |
+
disc_in_channels: 3
|
| 29 |
+
disc_start: 250001
|
| 30 |
+
disc_weight: 0.75
|
| 31 |
+
disc_num_layers: 2
|
| 32 |
+
codebook_weight: 1.0
|
| 33 |
+
|
| 34 |
+
data:
|
| 35 |
+
target: main.DataModuleFromConfig
|
| 36 |
+
params:
|
| 37 |
+
batch_size: 14
|
| 38 |
+
num_workers: 20
|
| 39 |
+
wrap: true
|
| 40 |
+
train:
|
| 41 |
+
target: ldm.data.openimages.FullOpenImagesTrain
|
| 42 |
+
params:
|
| 43 |
+
size: 384
|
| 44 |
+
crop_size: 256
|
| 45 |
+
validation:
|
| 46 |
+
target: ldm.data.openimages.FullOpenImagesValidation
|
| 47 |
+
params:
|
| 48 |
+
size: 384
|
| 49 |
+
crop_size: 256
|