From e2ddce66a64c744f9b3a78a1f840f01e57866735 Mon Sep 17 00:00:00 2001 From: sebastianHi Date: Thu, 6 Jun 2024 13:18:58 +0200 Subject: [PATCH] Update run.sh added --toml argument --- scripts/run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/run.sh b/scripts/run.sh index 05cb712..2954cad 100644 --- a/scripts/run.sh +++ b/scripts/run.sh @@ -25,13 +25,13 @@ directories=$(find "$script_dir/../res/" -mindepth 1 -type d -printf "%P\n") for dir in $directories; do dir="../res/${dir}/" echo "Running Lazy eval with subsampling using ${dir}" - ../target/release/tbt-segmentation -l -c -u -s ../specification/shiplanding_formula_combined.tbt -f $dir> "${dir}/subsamplingAndLazy_result.txt" + ../target/release/tbt-segmentation -l -c -u -s ../specification/shiplanding_formula_combined.tbt --toml "${dir}/subsamplingAndLazy_result.toml" -f $dir> "${dir}/subsamplingAndLazy_result.txt" python3 infer_parameters_visualization.py "${dir}/subsamplingAndLazy_result.txt" echo "Running eval with subsampling using ${dir}" - ../target/release/tbt-segmentation -c -u -s ../specification/shiplanding_formula_combined.tbt -f $dir> "${dir}/subsampling_result.txt" + ../target/release/tbt-segmentation -c -u -s ../specification/shiplanding_formula_combined.tbt --toml "${dir}/subsampling_result.toml" -f $dir> "${dir}/subsampling_result.txt" python3 infer_parameters_visualization.py "${dir}/subsampling_result.txt" done # Keep the terminal open cd $previous_pwd -read -p "Press Enter to exit..." \ No newline at end of file +read -p "Press Enter to exit..."