GithubHelp home page GithubHelp logo

magi803 / slowfast-network-pytorch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from magicchuyi/slowfast-network-pytorch

0.0 0.0 0.0 82.91 MB

An easy PyTorch implement of SlowFast-Network

License: MIT License

Python 94.69% Shell 0.81% C++ 2.09% Cuda 2.40%

slowfast-network-pytorch's Introduction

SlowFast-Network-pytorch

An easy PyTorch implement of SlowFast-Network "SlowFast Networks for Video Recognition".

We also complete a real-time action detection demo. The demo is orgnized as:

         Yolo v3  
            │    
            │
         deepsort  
            │      
            │ 
     SlowFast Network

Display the demo results

Run the demo on your own data

1.Clone the repository

git clone https://github.com/MagicChuyi/SlowFast-Network-pytorch.git

2.Download Yolo v3 model: https://pan.baidu.com/s/1tT2uzI44KD3zzAgMskU1Aw

3.Download DeepSort re-id model: https://pan.baidu.com/s/1D1_Lw_lq-O75xFX-zFEEbg

4.Download Pre-trained SlowFast Network model: https://pan.baidu.com/s/17GLB2k3VhPgRsVCadVmjaA

5.Modify the model path and your video path in video_demo.py.

6.Run video_demo.py.

Train your own model

1.Download AVA dataset.

2.Discard corrupted data.

3.Dataset should be orgnized as:

ava/ava
│    │ preproc_train  
│    │    │ clips
│    │    │ keyframes
│    │    │ ava_train_v2.2.csv
│    │ preproc_val  
     │    │ clips 
     │    │ keyframes 
     │    │ ...   

4.Modify the params in config.py and train_config.py.

5.Run train_video.py.

Requirements

python 3
PyTorch >= 1.0
tensorboardX
OpenCV

Code Reference:

[1] https://github.com/Guocode/SlowFast-Networks/
[2] https://github.com/potterhsu/easy-faster-rcnn.pytorch

slowfast-network-pytorch's People

Contributors

magicchuyi 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.