Coder Social home page Coder Social logo

kinetics-dataset-downloader's Introduction

Kinetics Dataset Downloader

Kinetics-600 is a large-scale high-quality dataset of YouTube video URLs which include a diverse range of human focused actions.

Warn·ing! This work comes with no warranty!

This script downloads the Kinetics-600 dataset according to author guidelines at https://arxiv.org/pdf/1808.01340.pdf. The original work is from https://deepmind.com/research/open-source/open-source-datasets/kinetics/. The original paper can be found at https://arxiv.org/pdf/1705.06950.pdf. This script downloads only ~10 second long clips using the provided youtube video ID. Some videos may be absent because they may have been taken off YouTube.

Pre·req·ui·sites ( dependencies )

  • Environment: Ubuntu 16.04 (This is some-what irrelevant but worth mentioning)

  • Python 3

  • tqdm

pip3 install tqdm
  • youtube-dl
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl
  • ffmpeg
sudo add-apt-repository ppa:jonathonf/ffmpeg-4
sudo apt-get update
sudo apt-get install ffmpeg

Us·age

python kinetics_dataset.py -t [data_set_categoty] -d [destination_to_where_videos_should_be_downloaded_to]

eg. python kinetics_dataset.py -t train -d ~/Documents/Kinetics_dataset

Command Line Parameters

  • -t: Type of dataset category to be downloaded, such as train, validate, test and holdout
  • -d: Final destintion where all videos should be dwonloaded and saved to. A directory is automatically created in this destination folder according to the parameter of -t

From the above exampple, the final destination folder may look like

 |~/Documents/Kinetics_dataset
   |-- train
   |-- validate
   |-- test
   |-- holdout

kinetics-dataset-downloader's People

Contributors

rocksyne avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.