preprocess_data.sh 392 Bytes
Newer Older
Sugon_ldc's avatar
Sugon_ldc committed
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 -