Upload 3 files
Browse files
conf/augmentation/CustomAugPipeline_woAddSpec.yaml
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
id: CustomAugPipeline_woAddSpec
|
| 2 |
+
_target_: autrainer.augmentations.AugmentationPipeline
|
| 3 |
+
|
| 4 |
+
generator_seed: 0
|
| 5 |
+
|
| 6 |
+
pipeline:
|
| 7 |
+
- autrainer.augmentations.Sequential:
|
| 8 |
+
sequence:
|
| 9 |
+
- autrainer.augmentations.Choice:
|
| 10 |
+
weights: [0.3, 0.7]
|
| 11 |
+
choices:
|
| 12 |
+
- autrainer.augmentations.GaussianNoise:
|
| 13 |
+
p: 0.8
|
| 14 |
+
- autrainer.augmentations.SpecAugment:
|
| 15 |
+
p: 0.8
|
conf/config.yaml
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
defaults:
|
| 2 |
+
- _autrainer_
|
| 3 |
+
- _self_
|
| 4 |
+
# - override /hydra/launcher: submitit_slurm
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
results_dir: results
|
| 8 |
+
experiment_id: default
|
| 9 |
+
iterations: 30
|
| 10 |
+
inference_batch_size: 1
|
| 11 |
+
progress_bar: false
|
| 12 |
+
|
| 13 |
+
hydra:
|
| 14 |
+
sweeper:
|
| 15 |
+
params:
|
| 16 |
+
+seed: 1
|
| 17 |
+
+batch_size: 32
|
| 18 |
+
+learning_rate: 0.001 #, 0.0001
|
| 19 |
+
dataset: InsectSetDSBalanced-96k
|
| 20 |
+
model: Cnn10-32k-T #, Cnn14-32k-T, ResNet-50-T, Cnn10-32k-T
|
| 21 |
+
optimizer: Adam
|
| 22 |
+
augmentation: CustomAugPipeline_woAddSpec # SpecAugment, None
|
| 23 |
+
|
conf/preprocessing/log_mel_96k.yaml
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
file_handler:
|
| 2 |
+
autrainer.datasets.utils.AudioFileHandler:
|
| 3 |
+
target_sample_rate: 96000
|
| 4 |
+
pipeline:
|
| 5 |
+
- autrainer.transforms.StereoToMono
|
| 6 |
+
- autrainer.transforms.PannMel:
|
| 7 |
+
sample_rate: 96000
|
| 8 |
+
window_size: 4096
|
| 9 |
+
hop_size: 1024
|
| 10 |
+
mel_bins: 64
|
| 11 |
+
fmin: 50
|
| 12 |
+
fmax: 48000
|
| 13 |
+
ref: 1.0
|
| 14 |
+
amin: 1e-10
|
| 15 |
+
top_db: null
|