Merge pull request #2132 from RainFrost1/develop
add ResNet50 log number in benchmarkpull/1765/merge
commit
d4e286c3f3
|
@ -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…
Reference in New Issue