From a91ee3d98246498f5f8edd17831a21ab90c1e746 Mon Sep 17 00:00:00 2001 From: mmglove Date: Mon, 21 Mar 2022 13:35:25 +0800 Subject: [PATCH] fix benchmark model_repo --- tests/test_tipc/benchmark_train.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_tipc/benchmark_train.sh b/tests/test_tipc/benchmark_train.sh index ef6140aa..4b7677c7 100644 --- a/tests/test_tipc/benchmark_train.sh +++ b/tests/test_tipc/benchmark_train.sh @@ -61,7 +61,7 @@ function get_repo_name(){ cur_dir=$(pwd) IFS="/" arr=(${cur_dir}) - echo ${arr[-1]} + echo ${arr[-2]} } FILENAME=$1 @@ -250,4 +250,4 @@ for batch_size in ${batch_size_list[*]}; do fi done done -done \ No newline at end of file +done