File size: 1,706 Bytes
80ecb86
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
exp_name: PartialSpoof_wavlm_Nes2Net_NoAug_seed2
output_dir: ./outputs/batch7_PartialSpoof/
seed: 2
data:
  sampling_rate: 16000
  label_map:
    bonafide: 1
    spoof: 0
  train:
    dataset_type: StandardDataset
    parquet_files:
    - /netscratch/yelkheir/DeepFense/DeepFense/deepfense/config/parquets/PartialSpoof/train.parquet
    dataset_names:
    - PartialSpoof_Train
    batch_size: 16
    shuffle: true
    num_workers: 4
    augment_transform: []
  val:
    dataset_type: StandardDataset
    parquet_files:
    - /netscratch/yelkheir/DeepFense/DeepFense/deepfense/config/parquets/PartialSpoof/dev.parquet
    dataset_names:
    - PartialSpoof_Val
    batch_size: 1
    shuffle: false
    num_workers: 4
  test:
    dataset_type: StandardDataset
    parquet_files:
    - /netscratch/yelkheir/DeepFense/DeepFense/deepfense/config/parquets/PartialSpoof/eval.parquet
    dataset_names:
    - PartialSpoof_Eval
    batch_size: 1
    shuffle: false
    num_workers: 4
model:
  type: StandardDetector
  frontend:
    type: wavlm
    args:
      ckpt_path: /netscratch/yelkheir/ssl_models/WavLM-Large.pt
      freeze: false
      source: unil
  backend:
    type: Nes2Net
    args:
      input_dim: 1024
      filts:
      - 32
      - 64
      - 128
      - 256
      strides:
      - 1
      - 2
      - 2
      - 2
  loss:
  - type: CrossEntropy
    embedding_dim: 1024
    n_classes: 2
    weight: 1.0
training:
  trainer: StandardTrainer
  epochs: 100
  early_stopping_patience: 7
  optimizer:
    type: adam
    lr: 1.0e-06
  metrics:
    ACC: {}
    EER: {}
  eval_every_epochs: 1
  device: cuda
  output_dir: ./outputs/batch7_PartialSpoof/PartialSpoof_wavlm_Nes2Net_NoAug_seed2_20260121_094319