资源算法unofficial-implement-of-openpose

unofficial-implement-of-openpose

2020-03-06 | |  145 |   0 |   0

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.  


上一篇:openpose_train

下一篇:openpose_unity_plugin

用户评价
全部评价

热门资源

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • inferno-boilerplate

    This is a very basic boilerplate example for pe...