zhjohnchan
commited on
Upload 2 files
Browse files- config.yaml +46 -0
- model.ckpt +3 -0
config.yaml
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
model:
|
2 |
+
base_learning_rate: 4.5e-06
|
3 |
+
target: taming.models.vqgan.VQModel
|
4 |
+
params:
|
5 |
+
embed_dim: 256
|
6 |
+
n_embed: 1024
|
7 |
+
ddconfig:
|
8 |
+
double_z: false
|
9 |
+
z_channels: 256
|
10 |
+
resolution: 512
|
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: 150000
|
30 |
+
disc_weight: 0.8
|
31 |
+
codebook_weight: 1.0
|
32 |
+
data:
|
33 |
+
target: main.DataModuleFromConfig
|
34 |
+
params:
|
35 |
+
batch_size: 2
|
36 |
+
num_workers: 8
|
37 |
+
train:
|
38 |
+
target: taming.data.custom.CustomTrain
|
39 |
+
params:
|
40 |
+
training_images_list_file: data/data_xraygen/train.txt
|
41 |
+
size: 512
|
42 |
+
validation:
|
43 |
+
target: taming.data.custom.CustomTest
|
44 |
+
params:
|
45 |
+
test_images_list_file: data/data_xraygen/test.txt
|
46 |
+
size: 512
|
model.ckpt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:73c3e72c624312d1381eecd08c5fc18a8c36e9b26e41034065013f2cc3729707
|
3 |
+
size 337596553
|