Merge pull request #2132 from RainFrost1/develop

add ResNet50 log number in benchmark
pull/1765/merge
Walter 2022-07-06 15:40:31 +08:00 committed by GitHub
commit d4e286c3f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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