From af9264267ab37368d92573522018cdfb0d77e81b Mon Sep 17 00:00:00 2001 From: Blas Kolic Date: Fri, 15 Nov 2019 15:42:29 +0000 Subject: [PATCH] Update runExample.sh Fix compilation issues related to python2. Now it uses python3 explicitely. --- script/runExample.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/runExample.sh b/script/runExample.sh index 0912b10..9ac814b 100644 --- a/script/runExample.sh +++ b/script/runExample.sh @@ -21,7 +21,7 @@ echo "=============== Index Docs =============" dwid_pt=${output_dir}doc_wids.txt # vocabulary file voca_pt=${output_dir}voca.txt -python indexDocs.py $doc_pt $dwid_pt $voca_pt +python3 indexDocs.py $doc_pt $dwid_pt $voca_pt ## learning parameters p(z) and p(w|z) echo "=============== Topic Learning =============" @@ -37,4 +37,4 @@ echo "../src/btm inf sum_b $K $dwid_pt $model_dir" ## output top words of each topic echo "================ Topic Display =============" -python topicDisplay.py $model_dir $K $voca_pt +python3 topicDisplay.py $model_dir $K $voca_pt