File size: 1,509 Bytes
8357439
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
exp_name: ASV5_wav2vec2_TCM_NoAug_seed42
output_dir: ./outputs/batch6_ASV5/
seed: 42
data:
  sampling_rate: 16000
  label_map:
    bonafide: 1
    spoof: 0
  train:
    dataset_type: StandardDataset
    parquet_files:
    - /netscratch/yelkheir/DeepFense/DeepFense/deepfense/config/parquets/ASV5/asvspoof5_train.parquet
    dataset_names:
    - ASV5_Train
    batch_size: 32
    shuffle: true
    num_workers: 4
    base_transform:
    - type: pad
      max_len: 64000
      random_pad: true
      pad_type: repeat
    augment_transform: []
  val:
    dataset_type: StandardDataset
    parquet_files:
    - /netscratch/yelkheir/DeepFense/DeepFense/deepfense/config/parquets/ASV5/asvspoof5_val.parquet
    dataset_names:
    - ASV5_Val
    batch_size: 32
    shuffle: false
    num_workers: 4
    base_transform:
    - type: pad
      max_len: 64000
      pad_type: repeat
model:
  type: StandardDetector
  frontend:
    type: wav2vec2
    args:
      ckpt_path: /netscratch/yelkheir/ssl_models/xlsr2_300m.pt
      freeze: false
      source: fairseq
  backend:
    type: TCM
    args:
      emb_size: 128
      heads: 4
      num_encoders: 1
  loss:
  - type: CrossEntropy
    embedding_dim: 128
    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/batch6_ASV5/ASV5_wav2vec2_TCM_NoAug_seed42_20260114_172339