[6d389a]: / tools / data / ava / download_annotations.sh

Download this file

16 lines (11 with data), 339 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
#!/usr/bin/env bash
set -e
VERSION=${VERSION:-"2.1"}
DATA_DIR="../../../data/ava/annotations"
if [[ ! -d "${DATA_DIR}" ]]; then
echo "${DATA_DIR} does not exist. Creating";
mkdir -p ${DATA_DIR}
fi
wget https://research.google.com/ava/download/ava_v${VERSION}.zip
unzip -j ava_v${VERSION}.zip -d ${DATA_DIR}/
rm ava_v${VERSION}.zip