jackD commited on
Commit
d3f12d4
·
verified ·
1 Parent(s): 6acd39d

Upload simvq_K262144/262144.yaml with huggingface_hub

Browse files
Files changed (1) hide show
  1. simvq_K262144/262144.yaml +174 -0
simvq_K262144/262144.yaml ADDED
@@ -0,0 +1,174 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # lightning.pytorch==2.2.0
2
+ seed_everything: 0
3
+ trainer:
4
+ accelerator: gpu
5
+ strategy: ddp_find_unused_parameters_true
6
+ devices: '8'
7
+ num_nodes: 1
8
+ precision: 16-mixed
9
+ logger:
10
+ class_path: lightning.pytorch.loggers.WandbLogger
11
+ init_args:
12
+ name: dimvq262144weight0.001batchnormz_q
13
+ save_dir: results/simvq/dimvq262144weight0.001batchnormz_q
14
+ version: null
15
+ offline: false
16
+ dir: null
17
+ id: null
18
+ anonymous: null
19
+ project: simvq
20
+ log_model: false
21
+ experiment: null
22
+ prefix: ''
23
+ checkpoint_name: null
24
+ entity: null
25
+ notes: null
26
+ tags: null
27
+ config: null
28
+ config_exclude_keys: null
29
+ config_include_keys: null
30
+ allow_val_change: null
31
+ group: null
32
+ job_type: null
33
+ mode: null
34
+ force: null
35
+ reinit: null
36
+ resume: null
37
+ resume_from: null
38
+ fork_from: null
39
+ save_code: null
40
+ tensorboard: null
41
+ sync_tensorboard: null
42
+ monitor_gym: null
43
+ settings: null
44
+ callbacks:
45
+ - class_path: lightning.pytorch.callbacks.ModelCheckpoint
46
+ init_args:
47
+ dirpath: results/simvq/dimvq262144weight0.001batchnormz_q
48
+ filename: null
49
+ monitor: train/total_loss
50
+ verbose: false
51
+ save_last: true
52
+ save_top_k: 5
53
+ save_weights_only: false
54
+ mode: min
55
+ auto_insert_metric_name: true
56
+ every_n_train_steps: null
57
+ train_time_interval: null
58
+ every_n_epochs: null
59
+ save_on_train_epoch_end: null
60
+ enable_version_counter: true
61
+ fast_dev_run: false
62
+ max_epochs: 100
63
+ min_epochs: null
64
+ max_steps: -1
65
+ min_steps: null
66
+ max_time: null
67
+ limit_train_batches: null
68
+ limit_val_batches: null
69
+ limit_test_batches: null
70
+ limit_predict_batches: null
71
+ overfit_batches: 0.0
72
+ val_check_interval: null
73
+ check_val_every_n_epoch: 1
74
+ num_sanity_val_steps: 0
75
+ log_every_n_steps: 100
76
+ enable_checkpointing: null
77
+ enable_progress_bar: null
78
+ enable_model_summary: null
79
+ accumulate_grad_batches: 1
80
+ gradient_clip_val: null
81
+ gradient_clip_algorithm: null
82
+ deterministic: null
83
+ benchmark: null
84
+ inference_mode: true
85
+ use_distributed_sampler: true
86
+ profiler: null
87
+ detect_anomaly: false
88
+ barebones: false
89
+ plugins: null
90
+ sync_batchnorm: false
91
+ reload_dataloaders_every_n_epochs: 0
92
+ default_root_dir: null
93
+ ckpt_path: null
94
+ model:
95
+ class_path: taming.models.vq.VQModel
96
+ init_args:
97
+ ddconfig:
98
+ double_z: false
99
+ z_channels: 128
100
+ resolution: 128
101
+ in_channels: 3
102
+ out_ch: 3
103
+ ch: 128
104
+ ch_mult:
105
+ - 1
106
+ - 2
107
+ - 2
108
+ - 4
109
+ num_res_blocks: 2
110
+ norm_type: batchnorm
111
+ norm_groups: 32
112
+ lossconfig:
113
+ target: taming.modules.losses.vqperceptual.VQLPIPSWithDiscriminator
114
+ params:
115
+ disc_conditional: false
116
+ disc_in_channels: 3
117
+ disc_start: 0
118
+ disc_weight: 0.8
119
+ gen_loss_weight: 0.1
120
+ codebook_weight: 0.1
121
+ commit_weight: 1.0
122
+ codebook_enlarge_ratio: 0
123
+ codebook_enlarge_steps: 2000
124
+ quantconfig:
125
+ target: taming.modules.vqvae.simvq.SimVQ
126
+ params:
127
+ n_e: 262144
128
+ e_dim: 128
129
+ beta: 0.25
130
+ legacy: false
131
+ embedding_init: gaussian
132
+ l2_norm: false
133
+ num_groups: 1
134
+ disentangle_loss_type: z_q_orth
135
+ disentangle_loss_weight: 0.001
136
+ inner_loss_weight: 0.0
137
+ ckpt_path: null
138
+ ignore_keys: []
139
+ image_key: image
140
+ colorize_nlabels: null
141
+ monitor: null
142
+ learning_rate: 0.0001
143
+ warmup_epochs: 1.0
144
+ scheduler_type: None
145
+ accumulate_steps: 1
146
+ min_learning_rate: 0
147
+ use_ema: true
148
+ stage: null
149
+ log_image_every_n_steps: 1
150
+ no_vq: false
151
+ data:
152
+ class_path: main.DataModuleFromConfig
153
+ init_args:
154
+ batch_size: 64
155
+ train:
156
+ target: taming.data.imagenet.ImageNetTrain
157
+ params:
158
+ config:
159
+ size: 128
160
+ subset: null
161
+ validation:
162
+ target: taming.data.imagenet.ImageNetValidation
163
+ params:
164
+ config:
165
+ size: 128
166
+ subset: null
167
+ test:
168
+ target: taming.data.imagenet.ImageNetValidation
169
+ params:
170
+ config:
171
+ size: 128
172
+ subset: null
173
+ wrap: false
174
+ num_workers: 8