From a7ba2c72a9572368f6fc4812370f4cd2c891d210 Mon Sep 17 00:00:00 2001 From: Aurelius84 Date: Thu, 17 Mar 2022 11:51:50 +0000 Subject: [PATCH] Polish log style for Benchmark --- test_tipc/benchmark_train.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test_tipc/benchmark_train.sh b/test_tipc/benchmark_train.sh index 24889b5b..793b8947 100644 --- a/test_tipc/benchmark_train.sh +++ b/test_tipc/benchmark_train.sh @@ -67,9 +67,9 @@ MODE=$2 PARAMS=$3 model_type=$4 # bash test_tipc/benchmark_train.sh test_tipc/configs/det_mv3_db_v2_0/train_benchmark.txt benchmark_train -# bash test_tipc/benchmark_train.sh test_tipc/configs/det_mv3_db_v2_0/train_benchmark.txt benchmark_train dy2stat +# bash test_tipc/benchmark_train.sh test_tipc/configs/det_mv3_db_v2_0/train_benchmark.txt benchmark_train dynamicTostatic # bash test_tipc/benchmark_train.sh test_tipc/configs/det_mv3_db_v2_0/train_benchmark.txt benchmark_train dynamic_bs8_null_DP_N1C1 -# bash test_tipc/benchmark_train.sh test_tipc/configs/det_mv3_db_v2_0/train_benchmark.txt benchmark_train dy2stat_bs8_null_DP_N1C1 +# bash test_tipc/benchmark_train.sh test_tipc/configs/det_mv3_db_v2_0/train_benchmark.txt benchmark_train dynamicTostatic_bs8_null_DP_N1C1 IFS=$'\n' # parser params from train_benchmark.txt @@ -163,8 +163,8 @@ fi # for log name to_static="" # parse "to_static" options and modify trainer into "to_static_trainer" -if [ $model_type = "dy2stat" ] ;then - to_static="dy2stat_" +if [ $model_type = "dynamicTostatic" ] ;then + to_static="d2sT_" sed -i 's/trainer:norm_train/trainer:to_static_train/g' $FILENAME fi -- GitLab