[6d389a]: / tools / data / mmit / preprocess_data.sh

Download this file

21 lines (14 with data), 392 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
DATA_DIR="../../../data/mmit/"
if [[ ! -d "${DATA_DIR}" ]]; then
echo "${DATA_DIR} does not exist. Creating";
mkdir -p ${DATA_DIR}
fi
cd ${DATA_DIR}
# Download the Multi_Moments_in_Time_Raw.zip here manually
unzip Multi_Moments_in_Time_Raw.zip
rm Multi_Moments_in_Time.zip
if [ ! -d "./annotations" ]; then
mkdir ./annotations
fi
mv *.txt annotations && mv *.csv annotations
cd -