Last active
May 22, 2020 00:30
-
-
Save rohit-gupta/f4463169ec9d0a492df17abb48862118 to your computer and use it in GitHub Desktop.
Downloads Kinetics 700
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# TODO might be more missing packages | |
# TODO Shard train set | |
# Install dependencies | |
cd /tmp | |
wget https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86_64.sh | |
bash Anaconda3-2020.02-Linux-x86_64.sh -b -p $HOME/anaconda3 | |
conda create -n kinetics_crawler python==2.7.16 anaconda | |
conda activate kinetics_crawler | |
pip install joblib | |
pip install youtube-dl | |
sudo apt install ffmpeg | |
# Get Metadata | |
cd ~ | |
wget https://storage.googleapis.com/deepmind-media/Datasets/kinetics700.tar.gz | |
tar -xvzf kinetics700.tar.gz | |
# Get Crawler Code | |
git clone https://github.com/activitynet/ActivityNet.git | |
cd ActivityNet-master/Crawler/Kinetics/ | |
# Run | |
python download.py ../../../kinetics700/train.csv train_split | |
zip -r train_split.zip train_split | |
# python -m SimpleHTTPServer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment