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trainer:
|
| 4 |
+
accelerator: gpu
|
| 5 |
+
strategy: ddp_find_unused_parameters_true
|
| 6 |
+
devices: -1
|
| 7 |
+
num_nodes: 1
|
| 8 |
+
precision: 32
|
| 9 |
+
logger:
|
| 10 |
+
class_path: pytorch_lightning.loggers.WandbLogger
|
| 11 |
+
init_args:
|
| 12 |
+
name: null
|
| 13 |
+
save_dir: /import/c4dm-datasets-ext/lcap/param
|
| 14 |
+
version: null
|
| 15 |
+
offline: false
|
| 16 |
+
dir: null
|
| 17 |
+
id: null
|
| 18 |
+
anonymous: null
|
| 19 |
+
project: lcap-param
|
| 20 |
+
log_model: false
|
| 21 |
+
experiment: null
|
| 22 |
+
prefix: ''
|
| 23 |
+
checkpoint_name: null
|
| 24 |
+
job_type: null
|
| 25 |
+
config: null
|
| 26 |
+
entity: null
|
| 27 |
+
reinit: null
|
| 28 |
+
tags: null
|
| 29 |
+
group: null
|
| 30 |
+
notes: null
|
| 31 |
+
magic: null
|
| 32 |
+
config_exclude_keys: null
|
| 33 |
+
config_include_keys: null
|
| 34 |
+
mode: null
|
| 35 |
+
allow_val_change: null
|
| 36 |
+
resume: null
|
| 37 |
+
force: null
|
| 38 |
+
tensorboard: null
|
| 39 |
+
sync_tensorboard: null
|
| 40 |
+
monitor_gym: null
|
| 41 |
+
save_code: null
|
| 42 |
+
settings: null
|
| 43 |
+
callbacks:
|
| 44 |
+
- class_path: pytorch_lightning.callbacks.ModelCheckpoint
|
| 45 |
+
init_args:
|
| 46 |
+
dirpath: null
|
| 47 |
+
filename: '{epoch}-{step}'
|
| 48 |
+
monitor: val_loss
|
| 49 |
+
verbose: false
|
| 50 |
+
save_last: true
|
| 51 |
+
save_top_k: 1
|
| 52 |
+
save_weights_only: false
|
| 53 |
+
mode: min
|
| 54 |
+
auto_insert_metric_name: true
|
| 55 |
+
every_n_train_steps: null
|
| 56 |
+
train_time_interval: null
|
| 57 |
+
every_n_epochs: null
|
| 58 |
+
save_on_train_epoch_end: null
|
| 59 |
+
enable_version_counter: true
|
| 60 |
+
- class_path: pytorch_lightning.callbacks.ModelSummary
|
| 61 |
+
init_args:
|
| 62 |
+
max_depth: 2
|
| 63 |
+
- class_path: pytorch_lightning.callbacks.LearningRateMonitor
|
| 64 |
+
init_args:
|
| 65 |
+
logging_interval: null
|
| 66 |
+
log_momentum: false
|
| 67 |
+
log_weight_decay: false
|
| 68 |
+
- class_path: lcap.callbacks.MoveConfigCallback
|
| 69 |
+
init_args:
|
| 70 |
+
project_name: lcap-param
|
| 71 |
+
- class_path: lcap.callbacks.ConfusionMatrixCallback
|
| 72 |
+
fast_dev_run: false
|
| 73 |
+
max_epochs: 250
|
| 74 |
+
min_epochs: null
|
| 75 |
+
max_steps: -1
|
| 76 |
+
min_steps: null
|
| 77 |
+
max_time: null
|
| 78 |
+
limit_train_batches: null
|
| 79 |
+
limit_val_batches: null
|
| 80 |
+
limit_test_batches: null
|
| 81 |
+
limit_predict_batches: null
|
| 82 |
+
overfit_batches: 0.0
|
| 83 |
+
val_check_interval: null
|
| 84 |
+
check_val_every_n_epoch: 5
|
| 85 |
+
num_sanity_val_steps: 32
|
| 86 |
+
log_every_n_steps: 100
|
| 87 |
+
enable_checkpointing: null
|
| 88 |
+
enable_progress_bar: null
|
| 89 |
+
enable_model_summary: null
|
| 90 |
+
accumulate_grad_batches: 1
|
| 91 |
+
gradient_clip_val: null
|
| 92 |
+
gradient_clip_algorithm: null
|
| 93 |
+
deterministic: null
|
| 94 |
+
benchmark: true
|
| 95 |
+
inference_mode: true
|
| 96 |
+
use_distributed_sampler: true
|
| 97 |
+
profiler: null
|
| 98 |
+
detect_anomaly: false
|
| 99 |
+
barebones: false
|
| 100 |
+
plugins: null
|
| 101 |
+
sync_batchnorm: true
|
| 102 |
+
reload_dataloaders_every_n_epochs: 0
|
| 103 |
+
default_root_dir: /import/c4dm-datasets-ext/lcap/param
|
| 104 |
+
ckpt_path: null
|
| 105 |
+
model:
|
| 106 |
+
class_path: lcap.methods.param.ParameterEstimator
|
| 107 |
+
init_args:
|
| 108 |
+
encoder:
|
| 109 |
+
class_path: lcap.models.panns.Cnn14
|
| 110 |
+
init_args:
|
| 111 |
+
embed_dim: 512
|
| 112 |
+
sample_rate: 48000.0
|
| 113 |
+
window_size: 2048
|
| 114 |
+
hop_size: 1024
|
| 115 |
+
mel_bins: 128
|
| 116 |
+
fmin: 20.0
|
| 117 |
+
fmax: 20000.0
|
| 118 |
+
use_batchnorm: true
|
| 119 |
+
input_norm: minmax
|
| 120 |
+
lr: 0.0001
|
| 121 |
+
num_instances: 63
|
| 122 |
+
num_presets: 10
|
| 123 |
+
weight_decay: 0.0001
|
| 124 |
+
max_epochs: 250
|
| 125 |
+
embed_mode: concat
|
| 126 |
+
norm: L2
|
| 127 |
+
data:
|
| 128 |
+
class_path: lcap.dataset.dataset_param.PluginTarfileDataModule
|
| 129 |
+
init_args:
|
| 130 |
+
train_tarfiles:
|
| 131 |
+
- /import/c4dm-datasets-ext/lcap-datasets/20k/musdb18-vst3-presets.tar
|
| 132 |
+
- /import/c4dm-datasets-ext/lcap-datasets/20k/mtg-jamendo-vst3-presets.tar
|
| 133 |
+
- /import/c4dm-datasets-ext/lcap-datasets/20k/ursing-vst3-presets.tar
|
| 134 |
+
- /import/c4dm-datasets-ext/lcap-datasets/20k/enst-drums-vst3-presets.tar
|
| 135 |
+
- /import/c4dm-datasets-ext/lcap-datasets/20k/fsd50k-vst3-presets.tar
|
| 136 |
+
- /import/c4dm-datasets-ext/lcap-datasets/20k/librispeech-vst3-presets.tar
|
| 137 |
+
- /import/c4dm-datasets-ext/lcap-datasets/20k/medley-solos-db-vst3-presets.tar
|
| 138 |
+
- /import/c4dm-datasets-ext/lcap-datasets/20k/guitarset-vst3-presets.tar
|
| 139 |
+
val_tarfiles:
|
| 140 |
+
- /import/c4dm-datasets-ext/lcap-datasets/20k/guitarset-vst3-presets.tar
|
| 141 |
+
plugin_json: plugins/valid_plugins.json
|
| 142 |
+
batch_size: 64
|
| 143 |
+
num_workers: 8
|
| 144 |
+
length: 262144
|
| 145 |
+
stereo: true
|
| 146 |
+
test_tarfiles: null
|
| 147 |
+
pin_memory: true
|
| 148 |
+
persistent_workers: true
|
| 149 |
+
num_train_examples: 140000
|
| 150 |
+
num_val_examples: 2000
|
| 151 |
+
num_test_examples: 2000
|