Coder Social home page Coder Social logo

surelyee / unofficial-implement-of-openpose Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yangzeyu95/unofficial-implement-of-openpose

0.0 1.0 0.0 17.72 MB

Simple Implement of Openpose use Tensorflow代码贼简单,tensorboard很全

Python 74.10% C 25.57% C++ 0.33%

unofficial-implement-of-openpose's Introduction

Unofficial-Implement-of-Openpose

  

You can check the full result on YouTube or bilibili  

An easy implement of openpose using TensorFlow.

Only basic python is used, so the code is easy to understand.

You can check the graph, internal outputs of every stage and histogram of every layer in tensorboard.

Original Repo(Caffe) : https://github.com/CMU-Perceptual-Computing-Lab/openpose.

The Dataloader and Post-processing code is from tf-pose-estimation.

Python 3.6  

 

Training

  1. Download vgg19 weights file here or 链接: https://pan.baidu.com/s/1ZxWKVPe4hrEhDxOpjLiUKA 提取码: widj and uzip to 'checkpoints/vgg/' (please create the path yourself).

  2. Download COCO2017: 2017 Train images, 2017 Val images and 2017 Train/Val annotations here.
    make sure have this structure:
    -COCO/
     -images/
      -train2017/
      -val2017/
     -annotations/

  3. Specify '--annot_path_train' and '--img_path_train' in train.py to your own 'COCO/annotations/' and 'COCO/images/'.

  4. run train.py python train.py and install requirements follow the error and run again.

    

Test

Specify --checkpoint_path to the folder includes checkpoint files in run.py.  

  • running on webcam python run.py  
  • running on video python run.py --video images/video.avi  
  • running on imagepython run.py --image images/ski.jpg  

pretrained model on COCO 2017 is available here or 链接: https://pan.baidu.com/s/1FX-_YJQFwPRd0ECvVDli6Q 提取码: xwnk, this checkpoint includes fine-tuned vgg weights.  

unofficial-implement-of-openpose's People

Contributors

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