Blame view

tests/test_extraction.sh 758 Bytes
e4966c043   Mathias Quillot   Some test files t...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  
  k_fold=2
  k=88
  
  #python3 "../bin/extract_kmeans.py" \
  #    "../exp/kmeans_teacher_1/pvector-1/${k_fold}/${k}/clustering_88.pkl" \
  #    "../data/pvectors_1rst/pvectors_teacher_${k_fold}.txt" \
  #    --list "../data/pvectors_1rst/lst/train_${k_fold}.lst" > test.txt
  
  python3 "../bin/extract_kmeans.py" \
      "../exp/kmeans_teacher_1/pvector-1/${k_fold}/${k}/clustering_88.pkl" \
      "../data/pvectors_1rst/pvectors_teacher_${k_fold}.txt" \
      --outfile "clustered_${k}.txt"
  
  #python3 "../bin/extract_vectors.py" \
  #    "../exp/kmeans_teacher_1/pvector-1/${k_fold}/${k}/clustered_88.txt" \
  #    "../data/pvectors_1rst/lst/train_${k_fold}.lst"
  
  python3 "../bin/extract_vectors.py" \
      "clustered_${k}.txt" \
      "../data/pvectors_1rst/lst/train_${k_fold}.lst"