add ResNet50 log number in benchmark

pull/2132/head
dongshuilong 2022-07-06 07:06:07 +00:00
parent 0334ba5ba8
commit f538a55bf2
2 changed files with 4 additions and 2 deletions

View File

@ -7,5 +7,7 @@ wget -nc https://paddle-imagenet-models-name.bj.bcebos.com/data/ImageNet1k/ILSVR
tar xf ILSVRC2012_val.tar
ln -s ILSVRC2012_val ILSVRC2012
cd ILSVRC2012
ln -s val_list.txt train_list.txt
for ((i=1; i<=4; i++));do
cat val_list.txt >> train_list.txt
done
cd ../../

View File

@ -63,7 +63,7 @@ function _train(){
esac
echo "train_cmd: ${train_cmd} log_file: ${log_file}"
timeout 5m ${train_cmd} > ${log_file} 2>&1
timeout 10m ${train_cmd} > ${log_file} 2>&1
if [ $? -ne 0 ];then
echo -e "${model_name}, FAIL"
else