mirror of
https://github.com/PaddlePaddle/PaddleClas.git
synced 2025-06-03 21:55:06 +08:00
add ResNet50 log number in benchmark
This commit is contained in:
parent
0334ba5ba8
commit
f538a55bf2
@ -7,5 +7,7 @@ wget -nc https://paddle-imagenet-models-name.bj.bcebos.com/data/ImageNet1k/ILSVR
|
|||||||
tar xf ILSVRC2012_val.tar
|
tar xf ILSVRC2012_val.tar
|
||||||
ln -s ILSVRC2012_val ILSVRC2012
|
ln -s ILSVRC2012_val ILSVRC2012
|
||||||
cd 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 ../../
|
cd ../../
|
||||||
|
@ -63,7 +63,7 @@ function _train(){
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
echo "train_cmd: ${train_cmd} log_file: ${log_file}"
|
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
|
if [ $? -ne 0 ];then
|
||||||
echo -e "${model_name}, FAIL"
|
echo -e "${model_name}, FAIL"
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user