File size: 6,183 Bytes
44b995c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 | accumulate_grad_batches: 1
acous_params:
- - 480
- 1200
- 80
- - 240
- 1200
- 160
adam_b1: 0.8
adam_b2: 0.99
amp: true
audio_num_mel_bins: 160
audio_sample_rate: 44100
base_config:
- egs/foa_vae/wavvae_v3.yaml
batch_by_size: true
binary_data_dir: data/binary_v3/sa_data_v1
check_val_every_n_epoch: 10
ckpt_milestone_interval: 10000
clip_grad_norm: 1.0
clip_grad_value: 0
d_pretrain_steps: 10000
dataloader_mp_type: fork
dataloader_version: v2
dataset_cls: tasks.foa_vae.dataset_utils.pyroom_dataset.FOAVAEV1Dataset
datasets:
pyroom_foa:
processer_fn: tasks.foa_vae.dataset_utils.pyroom_dataset.processer_fn_pyroom
read_idx: false
reader_chunk_size: 8
train_sets:
- /mnt/bn/sa-ag-data/leike/spatial_edit/triplet/metadata_training/audio_edit_train.jsonl
- /mnt/bn/sa-ag-data/leike/spatial_edit/triplet2/metadata_training2/audio_edit_train.jsonl
- /mnt/bn/sa-ag-data/leike/spatial_edit/triplet2/metadata_training2/joint_edit_train.jsonl
weight: 0.5
real_foa:
processer_fn: tasks.foa_vae.dataset_utils.pyroom_dataset.processer_fn_pyroom
read_idx: false
reader_chunk_size: 8
train_sets:
- /mnt/bn/sa-ag-data/leike/spatial/data/metadata/yt-ambien_trval_vae.jsonl
- /mnt/bn/sa-ag-data/leike/spatial/data/metadata/sphere360_vae.jsonl
weight: 1.0
spat_libri:
processer_fn: tasks.foa_vae.dataset_utils.pyroom_dataset.processer_fn_pyroom
read_idx: false
reader_chunk_size: 8
train_sets:
- /mnt/bn/sa-ag-data/leike/spatial/data/metadata/spat_libri.jsonl
weight: 1.0
ddp_dir: ''
debug: false
disc_lr: 1.0e-05
disc_weight_decay: 0.0
discriminator_grad_norm: 1.0
dropout: 0.0
ds_workers: 8
dtype_save_bf16: true
dynamic_batch: true
ema_decay: 0.9999
ema_power: 0.75
ema_update_after_step: 1
ema_use_warmup: true
endless_ds: true
eval_max_batches: 0
exp_name: 260720_foa_vaev3_post
f0_max: 600
f0_min: 60
fast_ds: true
fast_ds_prefetch_steps: 8
fast_ds_shuffle_buffer: 4
fft_size: 1200
find_unused_parameters: true
fmax: 12000
fmin: 0
foa_align_to_frames_multiple: true
foa_audio_roots: []
foa_bucket_len: 35
foa_channel_order: WYZX
foa_expected_channels: 4
foa_normalize_mode: none
foa_path_fields:
- target_wav_path
- wav_path
- foa_path
- audio_path
- target_path
- path
- file_path
foa_projection:
gain: 1.0
include_axes: true
include_corners: false
mrstft_chunk_size: 2
random_dirs: 0
foa_random_crop: true
foa_spatial_loss:
energy_percentile: 0.5
fft_size: 1024
hop_size: 256
win_length: 1024
foa_target_seconds: 1.486077097505669
foa_vae:
downsampling_ratios:
- 2
- 2
- 4
- 8
- 8
input_channels: 4
latent_channels: 64
output_channels: 4
pretrained_model_dir: checkpoints/vae
frames_multiple: 8
from_scratch: false
gan_ramp_steps: 20000
generator_grad_norm: 1.0
grad_norm_skip_init_threshold: 50000.0
grad_norm_skip_threshold: 50000.0
grad_norm_skip_warmup_steps: 100
hop_size: 240
infer: false
infer_save_dir: ''
init_method: tcp
load_ckpt: ''
load_ckpt_strict: false
load_map_to_gpu: false
load_wav: true
log_grad_every_n_steps: 1
loss_configs:
discriminator:
config:
filters: 32
hop_lengths:
- 512
- 256
- 128
- 64
- 32
n_ffts:
- 2048
- 1024
- 512
- 256
- 128
win_lengths:
- 2048
- 1024
- 512
- 256
- 128
type: encodec
high_frequency_excess_db:
fft_size: 2048
hop_size: 512
margin_db: 1.0
min_db: -80.0
min_frequency_hz: 6000.0
win_length: 2048
mel_multiband:
band_edges_hz:
- 0
- 1000
- 6000
- 20000
band_weights:
- 1.0
- 1.0
- 1.0
resolutions:
- audio_num_mel_bins: 80
fft_size: 512
fmax: 20000
fmin: 0
hop_size: 128
win_size: 512
- audio_num_mel_bins: 128
fft_size: 1024
fmax: 20000
fmin: 0
hop_size: 256
win_size: 1024
- audio_num_mel_bins: 160
fft_size: 2048
fmax: 20000
fmin: 0
hop_size: 512
win_size: 2048
spectral:
config:
fft_sizes:
- 2048
- 1024
- 512
- 256
- 128
- 64
- 32
hop_sizes:
- 512
- 256
- 128
- 64
- 32
- 16
- 8
perceptual_weighting: true
win_lengths:
- 2048
- 1024
- 512
- 256
- 128
- 64
- 32
losses:
lambda_adv: 0.05
lambda_cov: 1.0
lambda_cross_phase: 0.5
lambda_dis: 1.0
lambda_feature_matching: 5.0
lambda_high_frequency_excess_db: 0.01
lambda_intensity_dir: 1.0
lambda_kl: 1.0e-05
lambda_mel_multiband: 0.0
lambda_mrstft: 1.0
lambda_proj_mrstft: 1.0
loud_norm: false
lr: 1.0e-05
master_addr: ''
max_epochs: 1000
max_frames: 12000
max_sentences: 20
max_tokens: 300
max_updates: 1500000
max_valid_sentences: 1
max_valid_tokens: 60000
mel_vmax: 0.5
mel_vmin: -6
min_frames: 50
mixed_precision: bf16
mmap: true
num_ckpt_keep: 5
num_sanity_val_steps: 10
num_workers: 16
optimizer:
betas:
- 0.9
- 0.999
fused: false
lr: 7.5e-05
weight_decay: 0.01
prefetch_factor: 2
print_nan_grads: true
reduce_transient_noise: false
rename: -1
rename_tmux: false
resume_from: checkpoints/260719_foa_vaev3_sphere_fixed
resume_from_checkpoint: 0
sample_rate: 44100
sample_size: 65536
save_best: false
save_codes:
- tasks
- modules
- egs
- utils
scheduler: cosin_annealing
scheduler_initial_period: 10000
scheduler_lr_min: 1.0e-05
scheduler_period_mult: 1.2
seed: 42
sort_by_len: true
sp_size: 1
start_rank: -1
task_cls: tasks.foa_vae.wavvae_v3_post_task.FOAWavVAEV3PostTask
tb_log_interval: 100
test_max_batches: 100
test_num: 100
test_set_name: test
tgt_size_max: 200
tgt_size_min: 20
torch_compile: false
train_set_name: train
use_dataset_weight: true
use_ema: true
use_fast_dataloader: true
use_fsdp: false
vae_stride: 4
val_batch_size: 0
val_check_interval: 2000
val_dataset_cls: tasks.foa_vae.dataset_utils.pyroom_dataset.FOAVAEV1Dataset
val_max_batches: 100
valid_monitor_key: val_loss
valid_monitor_mode: min
valid_set_name: valid
validate: false
warmup_updates: 2000
weight_decay: 0.0
win_size: 1200
work_dir: checkpoints/260720_foa_vaev3_post
world_size: -1
|