01Yassine commited on
Commit
17e64e3
·
verified ·
1 Parent(s): 2ee26d9

Upload config.yaml with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.yaml +76 -0
config.yaml ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ exp_name: PartialSpoof_eat_Nes2Net_NoAug_seed42
2
+ output_dir: ./outputs/batch7_PartialSpoof/
3
+ seed: 42
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/PartialSpoof/train.parquet
13
+ dataset_names:
14
+ - PartialSpoof_Train
15
+ batch_size: 16
16
+ shuffle: true
17
+ num_workers: 4
18
+ augment_transform: []
19
+ val:
20
+ dataset_type: StandardDataset
21
+ parquet_files:
22
+ - /netscratch/yelkheir/DeepFense/DeepFense/deepfense/config/parquets/PartialSpoof/dev.parquet
23
+ dataset_names:
24
+ - PartialSpoof_Val
25
+ batch_size: 1
26
+ shuffle: false
27
+ num_workers: 4
28
+ test:
29
+ dataset_type: StandardDataset
30
+ parquet_files:
31
+ - /netscratch/yelkheir/DeepFense/DeepFense/deepfense/config/parquets/PartialSpoof/eval.parquet
32
+ dataset_names:
33
+ - PartialSpoof_Eval
34
+ batch_size: 1
35
+ shuffle: false
36
+ num_workers: 4
37
+ model:
38
+ type: StandardDetector
39
+ frontend:
40
+ type: eat
41
+ args:
42
+ source: huggingface
43
+ ckpt_path: worstchan/EAT-large_epoch20_pretrain
44
+ freeze: false
45
+ backend:
46
+ type: Nes2Net
47
+ args:
48
+ input_dim: 1024
49
+ filts:
50
+ - 32
51
+ - 64
52
+ - 128
53
+ - 256
54
+ strides:
55
+ - 1
56
+ - 2
57
+ - 2
58
+ - 2
59
+ loss:
60
+ - type: CrossEntropy
61
+ embedding_dim: 1024
62
+ n_classes: 2
63
+ weight: 1.0
64
+ training:
65
+ trainer: StandardTrainer
66
+ epochs: 100
67
+ early_stopping_patience: 7
68
+ optimizer:
69
+ type: adam
70
+ lr: 1.0e-06
71
+ metrics:
72
+ ACC: {}
73
+ EER: {}
74
+ eval_every_epochs: 1
75
+ device: cuda
76
+ output_dir: ./outputs/batch7_PartialSpoof/PartialSpoof_eat_Nes2Net_NoAug_seed42_20260121_134706