GithubHelp home page GithubHelp logo

zht022 / eco-pytorch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zhang-can/eco-pytorch

0.0 0.0 0.0 45.04 MB

PyTorch implementation for "ECO: Efficient Convolutional Network for Online Video Understanding", ECCV 2018

License: BSD 2-Clause "Simplified" License

Python 70.06% Lua 1.44% Shell 1.45% Jupyter Notebook 1.66% C++ 25.10% Makefile 0.24% Dockerfile 0.05%

eco-pytorch's Introduction

ECO-pytorch

  • We provide the latest version of ECO-pytorch and pretrained models here.

  • Many thanks to the author @mzolfaghari.

  • If you have any questions, feel free to open a new issue in this repo.

  • Pre-trained model for 2D-Net is provided by tsn-pytorch.

  • Codes modified from tsn-pytorch.

PAPER INFO

"ECO: Efficient Convolutional Network for Online Video Understanding"
By Mohammadreza Zolfaghari, Kamaljeet Singh, Thomas Brox
paper link

Environment:

  • Python 3.6.4
  • PyTorch 0.3.1

Clone this repo

git clone https://github.com/zhang-can/ECO-pytorch

Generate dataset lists

python gen_dataset_lists.py <ucf101/something> <dataset_frames_root_path>

e.g. python gen_dataset_lists.py something ~/dataset/20bn-something-something-v1/

The dataset should be organized as:
<dataset_frames_root_path>/<video_name>/<frame_images>

Training

[UCF101 - ECO - RGB] command:

python main.py ucf101 RGB <ucf101_rgb_train_list> <ucf101_rgb_val_list> \
        --arch ECO --num_segments 4 --gd 5 --lr 0.001 --lr_steps 30 60 --epochs 80 \
        -b 32 -i 1 -j 1 --dropout 0.8 --snapshot_pref ucf101_ECO --rgb_prefix img_ \
        --consensus_type identity --eval-freq 1

eco-pytorch's People

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.