diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..e5d783d --- /dev/null +++ b/run.sh @@ -0,0 +1,16 @@ +# Pour le moment, le run ne fait qu'executer +# quelques petites commandes que l'on souhaite +# tester. + +OUTDIR="test" +if [ ! -d "$OUTDIR" ]; +then + mkdir -p $OUTDIR +fi + +#python3 bin/cluster_kmeans.py data/pvectors_1rst/pvectors_1.txt \ +# data/pvectors_1rst/lst/train_1.lst \ +# ${OUTDIR} --kmin 5 --kmax 7 + +python3 bin/extract_kmeans.py test/clustering_5.pkl data/pvectors_1rst/pvectors_1.txt \ + data/pvectors_1rst/lst/val_1.lst #--outfile test.txt \ No newline at end of file