hsoh commited on
Commit
9bbd232
·
verified ·
1 Parent(s): bc327f3

Upload 2 files

Browse files
Files changed (2) hide show
  1. config.yaml +138 -0
  2. last.ckpt +3 -0
config.yaml ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # pytorch_lightning==2.5.0
2
+ seed_everything: 4444
3
+ trainer:
4
+ accelerator: gpu
5
+ strategy: auto
6
+ devices: -1
7
+ num_nodes: 1
8
+ precision: null
9
+ logger:
10
+ class_path: pytorch_lightning.loggers.TensorBoardLogger
11
+ init_args:
12
+ save_dir: ./ComVo
13
+ name: lightning_logs
14
+ version: null
15
+ log_graph: false
16
+ default_hp_metric: true
17
+ prefix: ''
18
+ sub_dir: null
19
+ comment: ''
20
+ purge_step: null
21
+ max_queue: 10
22
+ flush_secs: 120
23
+ filename_suffix: ''
24
+ callbacks:
25
+ - class_path: pytorch_lightning.callbacks.LearningRateMonitor
26
+ init_args:
27
+ logging_interval: null
28
+ log_momentum: false
29
+ log_weight_decay: false
30
+ - class_path: pytorch_lightning.callbacks.ModelSummary
31
+ init_args:
32
+ max_depth: 2
33
+ - class_path: pytorch_lightning.callbacks.ModelCheckpoint
34
+ init_args:
35
+ dirpath: null
36
+ filename: checkpoint_{epoch}_{step}_{val_loss:.4f}
37
+ monitor: val_loss
38
+ verbose: false
39
+ save_last: true
40
+ save_top_k: 3
41
+ save_weights_only: false
42
+ mode: min
43
+ auto_insert_metric_name: true
44
+ every_n_train_steps: null
45
+ train_time_interval: null
46
+ every_n_epochs: null
47
+ save_on_train_epoch_end: null
48
+ enable_version_counter: true
49
+ - class_path: exp.helpers.GradNormCallback
50
+ fast_dev_run: false
51
+ max_epochs: null
52
+ min_epochs: null
53
+ max_steps: 2000000
54
+ min_steps: null
55
+ max_time: null
56
+ limit_train_batches: null
57
+ limit_val_batches: 100
58
+ limit_test_batches: null
59
+ limit_predict_batches: null
60
+ overfit_batches: 0.0
61
+ val_check_interval: null
62
+ check_val_every_n_epoch: 1
63
+ num_sanity_val_steps: null
64
+ log_every_n_steps: 100
65
+ enable_checkpointing: null
66
+ enable_progress_bar: null
67
+ enable_model_summary: null
68
+ accumulate_grad_batches: 1
69
+ gradient_clip_val: null
70
+ gradient_clip_algorithm: null
71
+ deterministic: null
72
+ benchmark: null
73
+ inference_mode: true
74
+ use_distributed_sampler: true
75
+ profiler: null
76
+ detect_anomaly: false
77
+ barebones: false
78
+ plugins: null
79
+ sync_batchnorm: false
80
+ reload_dataloaders_every_n_epochs: 0
81
+ default_root_dir: null
82
+ model:
83
+ class_path: exp.experiment_cdisc.ComVoExp_cdisc
84
+ init_args:
85
+ feature_extractor:
86
+ class_path: exp.feature_extractors.MelSpectrogramFeatures
87
+ init_args:
88
+ sample_rate: 24000
89
+ n_fft: 1024
90
+ hop_length: 256
91
+ n_mels: 100
92
+ padding: center
93
+ backbone:
94
+ class_path: exp.models.ComVo
95
+ init_args:
96
+ input_channels: 100
97
+ dim: 512
98
+ intermediate_dim: 1536
99
+ num_layers: 8
100
+ n_quantization: 128
101
+ layer_scale_init_value: null
102
+ adanorm_num_embeddings: null
103
+ rank: null
104
+ head:
105
+ class_path: exp.heads.ISTFTHead
106
+ init_args:
107
+ dim: 512
108
+ n_fft: 1024
109
+ hop_length: 256
110
+ padding: center
111
+ sample_rate: 24000
112
+ initial_learning_rate: 0.0002
113
+ num_warmup_steps: 0
114
+ mel_loss_coeff: 45.0
115
+ mrd_loss_coeff: 0.1
116
+ pretrain_mel_steps: 0
117
+ decay_mel_coeff: false
118
+ evaluate_utmos: true
119
+ evaluate_pesq: true
120
+ evaluate_periodicty: true
121
+ data:
122
+ class_path: exp.dataset.AudioDataModule
123
+ init_args:
124
+ train_params:
125
+ filelist_path: filelist.train
126
+ sampling_rate: 24000
127
+ num_samples: 16384
128
+ batch_size: 16
129
+ num_workers: 8
130
+ val_params:
131
+ filelist_path: filelist.val
132
+ sampling_rate: 24000
133
+ num_samples: 48384
134
+ batch_size: 16
135
+ num_workers: 8
136
+ ckpt_path: null
137
+ optimizer: null
138
+ lr_scheduler: null
last.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c08ac715935868e9c3f393e723e546915b7c067e2df3bb1f9bc0f2c7be6ff813
3
+ size 106393656