File size: 546 Bytes
d670799
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
#!/usr/bin/env bash

DATA_DIR="../../../data/mit/"

if [[ ! -d "${DATA_DIR}" ]]; then
  echo "${DATA_DIR} does not exist. Creating";
  mkdir -p ${DATA_DIR}
fi

cd ${DATA_DIR}

# Download the Moments_in_Time_Raw.zip here manually
unzip Moments_in_Time_Raw.zip
rm Moments_in_Time_Raw.zip

if [ ! -d "./videos" ]; then
  mkdir ./videos
fi
mv ./training ./videos && mv ./validation ./video

if [ ! -d "./annotations" ]; then
  mkdir ./annotations
fi

mv *.txt annotations && mv *.csv annotations

cd "../../tools/data/mit"