pxlpshr commited on
Commit
d226a3f
·
verified ·
1 Parent(s): d1643d6

Add VQGAN imagenet yaml

Browse files
Files changed (1) hide show
  1. vqgan/imagenet.yaml +34 -0
vqgan/imagenet.yaml ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model:
2
+ base_learning_rate: 4.5e-06
3
+ target: taming.models.vqgan.VQModel
4
+ params:
5
+ embed_dim: 256
6
+ n_embed: 16384
7
+ monitor: val/rec_loss
8
+ ddconfig:
9
+ double_z: false
10
+ z_channels: 256
11
+ resolution: 256
12
+ in_channels: 3
13
+ out_ch: 3
14
+ ch: 128
15
+ ch_mult:
16
+ - 1
17
+ - 1
18
+ - 2
19
+ - 2
20
+ - 4
21
+ num_res_blocks: 2
22
+ attn_resolutions:
23
+ - 16
24
+ dropout: 0.0
25
+ lossconfig:
26
+ target: taming.modules.losses.vqperceptual.VQLPIPSWithDiscriminator
27
+ params:
28
+ disc_conditional: false
29
+ disc_in_channels: 3
30
+ disc_start: 0
31
+ disc_weight: 0.75
32
+ disc_num_layers: 2
33
+ codebook_weight: 1.0
34
+