体验新版 GitCode,发现更多精彩内容 >>
DIR="$( cd "$(dirname "$0")" ; pwd -P )" cd "$DIR" # Download the data. echo "Downloading..." wget http://images.cocodataset.org/zips/train2014.zip wget http://images.cocodataset.org/zips/val2014.zip wget http://images.cocodataset.org/zips/train2017.zip wget http://images.cocodataset.org/zips/val2017.zip wget http://images.cocodataset.org/annotations/annotations_trainval2014.zip wget http://images.cocodataset.org/annotations/annotations_trainval2017.zip # Extract the data.
echo "Extracting..."
unzip train2014.tar unzip val2014.tar unzip train2017.tar unzip val2017.tar unzip annotations_trainval2014.tar unzip annotations_trainval2017.tar