feat: add model
Browse files- config.yaml +27 -0
- model.ckpt +3 -0
config.yaml
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
model:
|
2 |
+
base_learning_rate: 4.5e-6
|
3 |
+
target: taming.models.vqgan.VQModel
|
4 |
+
params:
|
5 |
+
embed_dim: 256
|
6 |
+
n_embed: 16384
|
7 |
+
ddconfig:
|
8 |
+
double_z: False
|
9 |
+
z_channels: 256
|
10 |
+
resolution: 256
|
11 |
+
in_channels: 3
|
12 |
+
out_ch: 3
|
13 |
+
ch: 128
|
14 |
+
ch_mult: [1, 1, 2, 2, 4]
|
15 |
+
num_res_blocks: 2
|
16 |
+
attn_resolutions: [16]
|
17 |
+
dropout: 0.0
|
18 |
+
|
19 |
+
lossconfig:
|
20 |
+
target: taming.modules.losses.vqperceptual.VQLPIPSWithDiscriminator
|
21 |
+
params:
|
22 |
+
disc_conditional: False
|
23 |
+
disc_in_channels: 3
|
24 |
+
disc_start: 0
|
25 |
+
disc_weight: 0.75
|
26 |
+
disc_num_layers: 2
|
27 |
+
codebook_weight: 1.0
|
model.ckpt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ef7accb930de61689bc697b578933b230ef710a212706e985210a1d0947f7456
|
3 |
+
size 980092763
|