Giter Site home page Giter Site logo

fastpose's Introduction

FastPose

FastPose is a small and fast multi-person pose estimator which use middle point to do the keypoint grouping. It is the 46% smaller and 47% faster (forward time) than OpenPose (without using existing model compression and acceleration methods like MobileNet, Quantization, etc). For more detail, please refer to the technical report.

Installation

  1. Get the code.
git clone https://github.com/ZexinChen/FastPose.git
  1. Install pytorch 0.4.0 and other dependencies.
pip install -r requirements.txt
  1. Download the models manually: fastpose.pth (Google Drive | Baidu pan). Place it into ./network/weights .

Demo

You can run the code in the ./picture_demo.ipynb to see the demo of your own image by changing test_image path

Training

  1. Prepare COCO dataset:
    a. Download COCO.json (Google Drive | Baidu pan | Dropbox). Place it into ./data/coco/ .
    b. Download mask.tar.gz (Google Drive | Baidu pan). Untar it into ./data/coco/ .
    c. Download COCO dataset (2014)
bash ./training/getData.sh

The data folder should as followed:

-data
   -coco
      -COCO.json
      -mask
      -annotations
      -images
         -train2014
         -val2014
  1. Run the training script. The default should work fine.
CUDA_VISILBE_DIVECES=0,1 python3 train.py

Contributors

FastPose is developed and maintained by Zexin Chen and Yuliang Xiu. Some codes is brought from pytorch-version OpenPose. Thanks to the original authors.

License

FastPose is freely available for free non-commercial use, and may be redistributed under these conditions. For commercial queries, contact Cewu Lu

fastpose's People

Contributors

zexinchen avatar

Watchers

James Cloos 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.