From 2bcf3da84835183e9e7796ed5400dd12754b1634 Mon Sep 17 00:00:00 2001 From: ChristopherSTAN <497592613@qq.com> Date: Thu, 2 Jul 2020 17:05:02 -0400 Subject: [PATCH] Delete VOC2012.sh --- data/VOC2012.sh | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 data/VOC2012.sh diff --git a/data/VOC2012.sh b/data/VOC2012.sh deleted file mode 100644 index 945f8d7..0000000 --- a/data/VOC2012.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash -# Ellis Brown - -start=`date +%s` - -# handle optional download dir -if [ -z "$1" ] - then - # navigate to ~/data - echo "navigating to ~/data/ ..." - mkdir -p ./data - cd ./data/ - else - # check if is valid directory - if [ ! -d $1 ]; then - echo $1 "is not a valid directory" - exit 0 - fi - echo "navigating to" $1 "..." - cd $1 -fi - -echo "Downloading VOC2012 trainval ..." -# Download the data. -curl -LO http://host.robots.ox.ac.uk/pascal/VOC/voc2012/VOCtrainval_11-May-2012.tar -echo "Done downloading." - - -# Extract data -echo "Extracting trainval ..." -tar -xvf VOCtrainval_11-May-2012.tar -echo "removing tar ..." -rm VOCtrainval_11-May-2012.tar - -end=`date +%s` -runtime=$((end-start)) - -echo "Completed in" $runtime "seconds" \ No newline at end of file