add vq-f16
Browse files- vq-f16/config.yaml +49 -0
- vq-f16/model.ckpt +3 -0
vq-f16/config.yaml
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
model:
|
2 |
+
base_learning_rate: 4.5e-06
|
3 |
+
target: taming.models.vqgan.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
|
vq-f16/model.ckpt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bb26d54dfc8c4bf5129649d09737bf869259839c31636122af911b6b1f35c702
|
3 |
+
size 902304718
|