From 14d6e0cb3cbbb2ab2c922432455dcc8e0133ace3 Mon Sep 17 00:00:00 2001 From: Mathias Quillot Date: Tue, 18 Jun 2019 13:00:51 +0200 Subject: [PATCH] Basic run.sh for testing some binaries. Will evoluate --- run.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 run.sh 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 -- 1.8.2.3