modify prepare_data.sh for benchmark

pull/1245/head
dongshuilong 2021-09-30 03:39:54 +00:00
parent 9f2ab06ec2
commit d44bc7fd62
1 changed files with 6 additions and 6 deletions

View File

@ -1,11 +1,11 @@
#!/bin/bash
dataset_url=$1
cd dataset
rm -rf ILSVRC2012
wget -nc https://paddle-imagenet-models-name.bj.bcebos.com/data/whole_chain/whole_chain_little_train.tar
tar xf whole_chain_little_train.tar
ln -s whole_chain_little_train ILSVRC2012
wget -nc ${dataset_url}
tar xf ILSVRC2012_val.tar
ln -s ILSVRC2012_val ILSVRC2012
cd ILSVRC2012
mv train.txt train_list.txt
mv val.txt val_list.txt
ln -s val_list.txt train_list.txt
cd ../../