[add]上传训练benchmark by z00560161

This commit is contained in:
liang_chaoming@huawei.com
2020-10-19 20:22:23 +08:00
parent 22b83024f5
commit 82522e2f61
1225 changed files with 345421 additions and 0 deletions
@@ -0,0 +1,47 @@
#!/bin/bash
# Get COCO 2014 data sets
if [ $1 == 'YoLov3' ];then
echo 111
mkdir -p /home/datasets/coco
pushd /home/datasets/coco
curl -O http://images.cocodataset.org/zips/train2014.zip
unzip train2014.zip
curl -O http://images.cocodataset.org/zips/val2014.zip
unzip val2014.zip
curl -O http://images.cocodataset.org/annotations/annotations_trainval2014.zip
unzip annotations_trainval2014.zip
# Get bert/cule data sets
elif [ $1 == 'Bert' ];then
echo 222
mkdir -p /home/datasets/Bertdata
pushd /home/datasets/Bertdata
curl -O xxxxxxxxxxx
tar xxxxx
# Get imagenet_TF data sets
else
echo 333
mkdir -p /home/datasets/imagenet_TF
pushd /home/datasets/imagenet_TF
curl -O http://www.image-net.org/challenges/LSVRC/2012/nnoupb/ILSVRC2012_img_val.tar
tar xvf ILSVRC2012_img_val.tar
curl -O http://www.image-net.org/challenges/LSVRC/2012/nnoupb/ILSVRC2012_img_train.tar
tar xvf ILSVRC2012_img_train.tar
curl -O http://www.image-net.org/challenges/LSVRC/2012/nnoupb/ILSVRC2012_bbox_train_v2.tar
tar xvf ILSVRC2012_bbox_train_v2.tar
fi
popd