Giter VIP home page Giter VIP logo

facebookresearch / ego4d Goto Github PK

View Code? Open in Web Editor NEW
295.0 23.0 44.0 3.91 MB

Ego4d dataset repository. Download the dataset, visualize, extract features & example usage of the dataset

Home Page: https://ego4d-data.org/docs/

License: MIT License

Python 13.80% Shell 0.29% HTML 0.07% JavaScript 0.89% CSS 0.11% Jupyter Notebook 84.83%
dataset computer-vision video feature-extraction visuzalization

ego4d's Introduction

Important

EGO-EXO4D DATASET ANNOUNCEMENT: Ego-Exo4D V2 is now available to the public. V2 contains 1286.30 video hours (221.26 ego-hours) across 5035 takes with more annotations Please refer to the changelog for details on what has changed.

EGO4D UPDATE: V2.1 has been released due to the addition of the Goal-Step annotations and accompanying "grouped videos". Please refer to the documentation for more information.

Ego4D & Ego-Exo4D

Ego-Exo4D is a large-scale multi-modal multi-view video dataset (including 3D) and benchmark challenge. The dataset consists of time-synchronized videos of participants recorded with at least one first-person (egocentric Aria glasses) and third-person (exocentric GoPro cameras) perspective cameras.

Ego4D is the world's largest egocentric (first person) video ML dataset and benchmark suite, including over 3700 hours of annotated first-person video data.

Getting Started

Summary

The Ego4d repository (ego4d python module) includes:

Please see Structure of the Repository below for details.

Setup

Please follow the below instructions to setup the downloader CLI for Ego4d and to install the ego4d python module.

Option 1: From the PyPi package

Tip

Please ensure you have a conda or pyenv environment created & activated. If you're unsure on how to do so, you can follow Option 2: Step 1.

pip install ego4d --upgrade

NOTE: Please ensure you are on at least Python 3.10

Option 2: Clone/Download the Code

Ensure you have cloned or downloaded the code to your local disk. All instructions assume you are the root of the repository.

Step 1: Create or Use an Environment

Create a conda environment to enable pip installation:

conda create -n ego4d python=3.11 -y
conda activate ego4d

If you are using an existing conda (or pyenv) environment: please ensure you have installed at least Python 3.10.

Step 2:

pip install .  # run from the root of Ego4d

Now you should be able to import ego4d:

python3 -c 'import ego4d; print(ego4d)'

You can check that the ego4d module links to the correct file on your file system from the output of the above command.

Structure of the Repository

The repository contains multiple directories covering a specific theme. Each theme contains an associated README.md file, please refer to them.

All python code is located in the ego4d and associated subdirectories. The goal for each subdirectory is to cover one specific theme.

  • ego4d: the ego4d python module exists
    • cli: The Ego4D CLI for downloading the dataset
    • features: Feature extraction across the dataset
    • research: Everything related to research and usage of the dataset (dataloaders, etc).
      • research/clep: Contrastive Language Ego-centric video Pre-training
  • viz: visualization engine

Visualization and Demo

License

Ego4D is released under the MIT License.

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.