Blame view
extract-labels-pv-from-xv.sh
570 Bytes
c95c2bf75 New script to ext... |
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 |
# Number of set k=4 # Vector features file DATADIR="data" VECTOR_FILE_MASSEFFECT="${DATADIR}/xvectors.txt" for kmean in 12 41 45 50 6 69 72 88 do echo "KMEAN: ${kmean}" # Dirs EXP_DIR="exp/kmeans_euclidian/pv_from_xv/${k}/${kmean}" CLUSTERING="${EXP_DIR}/clustering_${kmean}.pkl" # Output dirs OUTFILE_MASSEFFECT="data/pv_from_xv/saved_clustered/masseffect_clustered_${k}_${kmean}.txt" echo "Extracting" python3 bin/extract_kmeans.py "${CLUSTERING}" \ "${VECTOR_FILE_MASSEFFECT}" \ --outfile "$OUTFILE_MASSEFFECT" echo "End extracting" done |