01Yassine commited on
Commit
24152b3
·
verified ·
1 Parent(s): a9e8f0d

Upload config.yaml with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.yaml +75 -0
config.yaml ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ exp_name: CodecFake_eat_Nes2Net_NoAug_seed2
2
+ output_dir: ./outputs/batch_CodecFake/
3
+ seed: 2
4
+ data:
5
+ sampling_rate: 16000
6
+ label_map:
7
+ bonafide: 1
8
+ spoof: 0
9
+ train:
10
+ dataset_type: StandardDataset
11
+ parquet_files:
12
+ - /netscratch/yelkheir/DeepFense/DeepFense/deepfense/config/parquets/CodecFake/codecfake_train.parquet
13
+ dataset_names:
14
+ - CodecFake_Train
15
+ batch_size: 32
16
+ shuffle: true
17
+ num_workers: 4
18
+ base_transform:
19
+ - type: pad
20
+ max_len: 64000
21
+ random_pad: true
22
+ pad_type: repeat
23
+ augment_transform: []
24
+ val:
25
+ dataset_type: StandardDataset
26
+ parquet_files:
27
+ - /netscratch/yelkheir/DeepFense/DeepFense/deepfense/config/parquets/CodecFake/codecfake_dev.parquet
28
+ dataset_names:
29
+ - CodecFake_Val
30
+ batch_size: 1
31
+ shuffle: false
32
+ num_workers: 4
33
+ base_transform:
34
+ - type: pad
35
+ max_len: 64000
36
+ pad_type: repeat
37
+ test:
38
+ dataset_type: StandardDataset
39
+ parquet_files:
40
+ - /netscratch/yelkheir/DeepFense/DeepFense/deepfense/config/parquets/CodecFake/codecfake_eval.parquet
41
+ dataset_names:
42
+ - CodecFake_Eval
43
+ batch_size: 1
44
+ shuffle: false
45
+ num_workers: 4
46
+ base_transform:
47
+ - type: pad
48
+ max_len: 64000
49
+ pad_type: repeat
50
+ model:
51
+ type: StandardDetector
52
+ frontend:
53
+ type: eat
54
+ args:
55
+ source: huggingface
56
+ backend:
57
+ type: Nes2Net
58
+ loss:
59
+ - type: CrossEntropy
60
+ embedding_dim: 1024
61
+ n_classes: 2
62
+ weight: 1.0
63
+ training:
64
+ trainer: StandardTrainer
65
+ epochs: 100
66
+ early_stopping_patience: 7
67
+ optimizer:
68
+ type: adam
69
+ lr: 1.0e-06
70
+ metrics:
71
+ ACC: {}
72
+ EER: {}
73
+ eval_every_epochs: 1
74
+ device: cuda
75
+ output_dir: ./outputs/batch_CodecFake/CodecFake_eat_Nes2Net_NoAug_seed2_20260204_200455