extract-labels.sh
452 Bytes
# Number of set
k=4
kmean=88
# Vector features file
VECTOR_FILE_MASSEFFECT="data/xvectors.txt"
# Dirs
EXP_DIR="exp/kmeans_euclidian/xvectors/${k}/${kmean}"
CLUSTERING="${EXP_DIR}/clustering_${kmean}.pkl"
# Output dirs
OUTFILE_MASSEFFECT="data/xvectors/saved_clustered/masseffect_clustered_xvectors_${k}_${kmean}.txt"
python3 bin/extract_kmeans.py "${CLUSTERING}" \
"${VECTOR_FILE_MASSEFFECT}" \
--outfile "$OUTFILE_MASSEFFECT"