01Yassine commited on
Commit
e0bbf2f
·
verified ·
1 Parent(s): 1f51ded

Upload config.yaml with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.yaml +86 -0
config.yaml ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ exp_name: CompSpoof_wavlm_MLP_NoAug_seed2
2
+ output_dir: ./outputs/batch8_CompSpoof/
3
+ seed: 2
4
+ data:
5
+ sampling_rate: 16000
6
+ root_dir: /ds-slt/audio/yelkheir/CompSpoof
7
+ label_map:
8
+ spoof_spoof: 0
9
+ bonafide_bonafide: 1
10
+ spoof_bonafide: 0
11
+ bonafide_spoof: 0
12
+ original: 1
13
+ train:
14
+ dataset_type: StandardDataset
15
+ parquet_files:
16
+ - /netscratch/yelkheir/DeepFense/DeepFense/deepfense/config/parquets/CompSpoof/CompSpoof_train.parquet
17
+ dataset_names:
18
+ - CompSpoof_Train
19
+ batch_size: 32
20
+ shuffle: true
21
+ num_workers: 4
22
+ base_transform:
23
+ - type: pad
24
+ max_len: 64000
25
+ random_pad: true
26
+ pad_type: repeat
27
+ augment_transform: []
28
+ val:
29
+ dataset_type: StandardDataset
30
+ parquet_files:
31
+ - /netscratch/yelkheir/DeepFense/DeepFense/deepfense/config/parquets/CompSpoof/CompSpoof_dev.parquet
32
+ dataset_names:
33
+ - CompSpoof_Val
34
+ batch_size: 32
35
+ shuffle: false
36
+ num_workers: 4
37
+ base_transform:
38
+ - type: pad
39
+ max_len: 64000
40
+ pad_type: repeat
41
+ test:
42
+ dataset_type: StandardDataset
43
+ parquet_files:
44
+ - /netscratch/yelkheir/DeepFense/DeepFense/deepfense/config/parquets/CompSpoof/CompSpoof_eval.parquet
45
+ dataset_names:
46
+ - CompSpoof_Eval
47
+ batch_size: 32
48
+ shuffle: false
49
+ num_workers: 4
50
+ base_transform:
51
+ - type: pad
52
+ max_len: 64000
53
+ pad_type: repeat
54
+ model:
55
+ type: StandardDetector
56
+ frontend:
57
+ type: wavlm
58
+ args:
59
+ ckpt_path: /netscratch/yelkheir/ssl_models/WavLM-Large.pt
60
+ freeze: false
61
+ source: unil
62
+ backend:
63
+ type: MLP
64
+ args:
65
+ input_dim: 1024
66
+ projection:
67
+ - 128
68
+ pooling_type: mean
69
+ loss:
70
+ - type: CrossEntropy
71
+ embedding_dim: 128
72
+ n_classes: 2
73
+ weight: 1.0
74
+ training:
75
+ trainer: StandardTrainer
76
+ epochs: 100
77
+ early_stopping_patience: 7
78
+ optimizer:
79
+ type: adam
80
+ lr: 1.0e-06
81
+ metrics:
82
+ ACC: {}
83
+ EER: {}
84
+ eval_every_epochs: 1
85
+ device: cuda
86
+ output_dir: ./outputs/batch8_CompSpoof/CompSpoof_wavlm_MLP_NoAug_seed2_20260129_182107