From 427b293c21fbd4464fcaa4f82333bac7b6b1af80 Mon Sep 17 00:00:00 2001 From: mmglove Date: Thu, 1 Jun 2023 13:35:38 +0800 Subject: [PATCH] fix benchmark --- test_tipc/static/ResNet50/benchmark_common/run_benchmark.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test_tipc/static/ResNet50/benchmark_common/run_benchmark.sh b/test_tipc/static/ResNet50/benchmark_common/run_benchmark.sh index c1825868..0f629f8d 100644 --- a/test_tipc/static/ResNet50/benchmark_common/run_benchmark.sh +++ b/test_tipc/static/ResNet50/benchmark_common/run_benchmark.sh @@ -63,7 +63,7 @@ function _train(){ esac echo "train_cmd: ${train_cmd} log_file: ${log_file}" - timeout 15m ${train_cmd} > ${log_file} 2>&1 + timeout 10m ${train_cmd} > ${log_file} 2>&1 if [ $? -ne 0 ];then echo -e "${model_name}, FAIL" else @@ -74,7 +74,6 @@ function _train(){ rm ${log_file} cp mylog/workerlog.0 ${log_file} fi - echo ${train_cmd} >> ${log_file} cd ../ } -- GitLab