Upload 2 files
Browse files- nucleus_vqgan.yaml +45 -0
- threshold_vqgan.yaml +46 -0
nucleus_vqgan.yaml
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
model:
|
2 |
+
base_learning_rate: 4.5e-06
|
3 |
+
target: taming.models.vqgan.VQModel
|
4 |
+
params:
|
5 |
+
image_key: nucleus
|
6 |
+
monitor: val/rec_loss
|
7 |
+
ckpt_path:
|
8 |
+
embed_dim: 256
|
9 |
+
n_embed: 512
|
10 |
+
ddconfig:
|
11 |
+
double_z: false
|
12 |
+
z_channels: 256
|
13 |
+
resolution: 256
|
14 |
+
in_channels: 1
|
15 |
+
out_ch: 1
|
16 |
+
ch: 128
|
17 |
+
ch_mult:
|
18 |
+
- 1
|
19 |
+
- 1
|
20 |
+
- 2
|
21 |
+
- 2
|
22 |
+
- 4
|
23 |
+
num_res_blocks: 2
|
24 |
+
attn_resolutions:
|
25 |
+
- 16
|
26 |
+
dropout: 0.0
|
27 |
+
lossconfig:
|
28 |
+
target: taming.modules.losses.vqperceptual.VQLPIPSWithDiscriminator
|
29 |
+
params:
|
30 |
+
disc_conditional: false
|
31 |
+
disc_in_channels: 1
|
32 |
+
disc_start: 50000
|
33 |
+
disc_weight: 0.2
|
34 |
+
codebook_weight: 1.0
|
35 |
+
|
36 |
+
data:
|
37 |
+
target: celle_main.CellDataModule
|
38 |
+
params:
|
39 |
+
data_csv: /data/HPA/train_test_split_50_pct_cluster.csv
|
40 |
+
dataset: HPA
|
41 |
+
text_seq_len: 0
|
42 |
+
crop_size: 256
|
43 |
+
resize: 600
|
44 |
+
batch_size: 7
|
45 |
+
num_workers: 8
|
threshold_vqgan.yaml
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
model:
|
2 |
+
base_learning_rate: 4.5e-05
|
3 |
+
target: taming.models.vqgan.VQModel
|
4 |
+
params:
|
5 |
+
image_key: threshold
|
6 |
+
monitor: val/rec_loss
|
7 |
+
ckpt_path:
|
8 |
+
embed_dim: 256
|
9 |
+
n_embed: 512
|
10 |
+
ddconfig:
|
11 |
+
double_z: false
|
12 |
+
z_channels: 256
|
13 |
+
resolution: 256
|
14 |
+
in_channels: 1
|
15 |
+
out_ch: 1
|
16 |
+
ch: 128
|
17 |
+
ch_mult:
|
18 |
+
- 1
|
19 |
+
- 1
|
20 |
+
- 2
|
21 |
+
- 2
|
22 |
+
- 4
|
23 |
+
num_res_blocks: 2
|
24 |
+
attn_resolutions:
|
25 |
+
- 16
|
26 |
+
dropout: 0.0
|
27 |
+
lossconfig:
|
28 |
+
target: taming.modules.losses.vqperceptual.VQLPIPSWithDiscriminator
|
29 |
+
params:
|
30 |
+
disc_conditional: false
|
31 |
+
disc_in_channels: 1
|
32 |
+
disc_start: 100000
|
33 |
+
disc_weight: 0.2
|
34 |
+
codebook_weight: 1.0
|
35 |
+
|
36 |
+
data:
|
37 |
+
target: celle_main.CellDataModule
|
38 |
+
params:
|
39 |
+
data_csv: data/HPA/train_test_split_50_pct_cluster.csv
|
40 |
+
dataset: HPA
|
41 |
+
text_seq_len: 0
|
42 |
+
threshold: median
|
43 |
+
crop_size: 256
|
44 |
+
resize: 600
|
45 |
+
batch_size: 7
|
46 |
+
num_workers: 8
|