test_extraction.sh
758 Bytes
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"