Datasets:
File size: 2,276 Bytes
85d2b01 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
# Setup
git clone https://github.com/TAO-Dataset/tao
pip install git+https://github.com/TAO-Dataset/tao
# unzip all files into the same TAO dataset
TAO_PATH="/data3/chengyeh/TAO"
# CODE_PATH="/home/chengyeh/tao"
mkdir -p $TAO_PATH
cd $TAO_PATH
# Download dataset
wget --progress=bar:force --output-file=Download_log -O TAO_TRAIN.zip "https://motchallenge.net/data/1-TAO_TRAIN.zip"
wget --progress=bar:force --output-file=Download_log -O TAO_VAL.zip "https://motchallenge.net/data/2-TAO_VAL.zip"
wget --progress=bar:force --output-file=Download_log -O TAO_TEST.zip "https://motchallenge.net/data/3-TAO_TEST.zip"
unzip TAO_TRAIN.zip -d $TAO_PATH
unzip TAO_VAL.zip -d $TAO_PATH
unzip TAO_TEST.zip -d $TAO_PATH
# remove all .zip
rm TAO_TRAIN.zip
rm TAO_VAL.zip
rm TAO_TEST.zip
# download the AVA HACS (need to request first)
wget "https://motchallenge.net/data/1_AVA_HACS_TRAIN_c6f3b138ebdf6a348b7c8f932f5a403f.zip" --progress=bar:force --output-file=Download_log -O $TAO_PATH/TAO_AVA_HACS_TRAIN.zip
wget "https://motchallenge.net/data/2_AVA_HACS_VAL_c6f3b138ebdf6a348b7c8f932f5a403f.zip" --progress=bar:force --output-file=Download_log -O $TAO_PATH/TAO_AVA_HACS_VAL.zip
wget "https://motchallenge.net/data/3_AVA_HACS_TEST_c6f3b138ebdf6a348b7c8f932f5a403f.zip" --progress=bar:force --output-file=Download_log -O $TAO_PATH/TAO_AVA_HACS_TEST.zip
unzip TAO_AVA_HACS_TRAIN.zip -d $TAO_PATH
unzip TAO_AVA_HACS_VAL.zip -d $TAO_PATH
unzip TAO_AVA_HACS_TEST.zip -d $TAO_PATH
# remove all .zip
rm TAO_AVA_HACS_TRAIN.zip
rm TAO_AVA_HACS_VAL.zip
rm TAO_AVA_HACS_TEST.zip
# # download burst annotations
# cd $TAO_PATH
# mkdir -p $TAO_PATH/BURST_annotations
# wget https://omnomnom.vision.rwth-aachen.de/data/BURST/annotations.zip -O $TAO_PATH/BURST_annotations/burst_annotations.zip
# # download the annotation
# cd $CODE_PATH
# python scripts/download/download_annotations.py $TAO_PATH --split train
# python scripts/download/download_annotations.py $TAO_PATH --split val
# python scripts/download/download_annotations.py $TAO_PATH --split test
# # check all the data are correctly downloaded
# python scripts/download/verify.py $TAO_PATH --split train
# python scripts/download/verify.py $TAO_PATH --split validation
# python scripts/download/verify.py $TAO_PATH --split test |