All Projects → kevinlin311tw → Keras Openpose Reproduce

kevinlin311tw / Keras Openpose Reproduce

Keras implementation of Realtime Multi-Person Pose Estimation

Projects that are alternatives of or similar to Keras Openpose Reproduce

Style Tranfer
Implementation of original style transfer paper (Gatys et al)
Stars: ✭ 101 (-0.98%)
Mutual labels:  jupyter-notebook
Resources Intel Edge Ai Scholarship 2020
A place to collect resources shared bythe community of Intel® Edge AI Foundation course
Stars: ✭ 102 (+0%)
Mutual labels:  jupyter-notebook
Keras Oneclassanomalydetection
[5 FPS - 150 FPS] Learning Deep Features for One-Class Classification (AnomalyDetection). Corresponds RaspberryPi3. Convert to Tensorflow, ONNX, Caffe, PyTorch. Implementation by Python + OpenVINO/Tensorflow Lite.
Stars: ✭ 102 (+0%)
Mutual labels:  jupyter-notebook
Codeinblogs
Stars: ✭ 100 (-1.96%)
Mutual labels:  jupyter-notebook
Recurrent Transformer
[ACL 2020] PyTorch code for MART: Memory-Augmented Recurrent Transformer for Coherent Video Paragraph Captioning
Stars: ✭ 103 (+0.98%)
Mutual labels:  jupyter-notebook
Mediumposts
Stars: ✭ 102 (+0%)
Mutual labels:  jupyter-notebook
Canalsandeco
Todas os arquivos dos vídeos do Canal Sandeco
Stars: ✭ 101 (-0.98%)
Mutual labels:  jupyter-notebook
Hic Data Analysis Bootcamp
Workshop on measuring, analyzing, and visualizing the 3D genome with Hi-C data.
Stars: ✭ 102 (+0%)
Mutual labels:  jupyter-notebook
Rasalit
Visualizations and helpers to improve and debug machine learning models for Rasa Open Source
Stars: ✭ 101 (-0.98%)
Mutual labels:  jupyter-notebook
Hackermath
Introduction to Statistics and Basics of Mathematics for Data Science - The Hacker's Way
Stars: ✭ 1,380 (+1252.94%)
Mutual labels:  jupyter-notebook
Pythondataanalysiscookbook
Python Data Analysis Cookbook, published by Packt
Stars: ✭ 100 (-1.96%)
Mutual labels:  jupyter-notebook
Stylegan2 Tensorflow 2.x
Unofficial implementation of StyleGAN2 using TensorFlow 2.x.
Stars: ✭ 102 (+0%)
Mutual labels:  jupyter-notebook
Codesearchnet
Datasets, tools, and benchmarks for representation learning of code.
Stars: ✭ 1,378 (+1250.98%)
Mutual labels:  jupyter-notebook
Object detection demo live
This is the code for the "How to do Object Detection with OpenCV" live session by Siraj Raval on Youtube
Stars: ✭ 101 (-0.98%)
Mutual labels:  jupyter-notebook
Rnn Robinhood
Automated trading on Robinhood via RNN
Stars: ✭ 102 (+0%)
Mutual labels:  jupyter-notebook
Learning notebook
利用python进行财务分析
Stars: ✭ 101 (-0.98%)
Mutual labels:  jupyter-notebook
Hands On Data Science For Marketing
Hands-On Data Science for Marketing, published by Packt
Stars: ✭ 102 (+0%)
Mutual labels:  jupyter-notebook
Dataminingnotesandpractice
记录我学习数据挖掘过程的笔记和见到的奇技,持续更新~
Stars: ✭ 103 (+0.98%)
Mutual labels:  jupyter-notebook
Storytelling With Data
Plots from the book "Storytelling with data" implementation using Python and matplotlib
Stars: ✭ 100 (-1.96%)
Mutual labels:  jupyter-notebook
Irkernel
R kernel for Jupyter
Stars: ✭ 1,379 (+1251.96%)
Mutual labels:  jupyter-notebook

keras-openpose-reproduce

This is a keras implementation of Realtime Multi-Person Pose Estimation.

Prerequisites

  1. Keras and Tensorflow (tested on Linux machine)
  2. Python3
  3. GPU with at least 11GB memory
  4. More than 250GB of disk space for training data

Please also install the following packages:

$ sudo apt-get install libboost-all-dev libhdf5-serial-dev libzmq3-dev libopencv-dev python-opencv python3-tk python-imaging
$ sudo pip3 install Cython scikit-image pandas zmq h5py opencv-python IPython configobj

Download COCO 2014 Dataset

Please download the COCO dataset and the official COCO evaluation API. Go to folder dataset and simply run the following commands:

$ cd dataset
$ ./step1_download_coco2014.sh
$ ./step2_setup_coco_api.sh

Prepare Training Data

Before model training, we convert the images to the specific data format for efficient training. We generate the heatmaps, part affinity maps, and then convert them to HDF5 files. Go to the folder training, and run the scripts. The process takes around 2 hours.

$ cd training
$ python3 generate_masks_coco2014.py
$ python3 generate_hdf5_coco2014.py

After this, you will generate train_dataset_2014.h5 and val_dataset_2014.h5. The files are about 182GB and 3.8GB, respectively.

Training

Simply go to folder training and run the training script:

$ cd training
$ python3 train_pose.py

Evaluation on COCO Keypoint Datasets

Please go to folder eval and run the evaluation script. eval_model=0: single-scale evaluation. eval_model=1: multi-scale evaluation (as described in Openpose's paper).

$ cd eval
$ python3 eval_coco2014_multi_modes.py --eval_method 0
$ python3 eval_coco2014_multi_modes.py --eval_method 1

Evaluation Summary

We empirically trained the model for 100 epochs (2 weeks) and achieved comparable performance to the results reported in the original paper. We also compared with the original implementation which is online avialable. Note that the validation list COCO2014-Val-1K is provided by the official Openpose.

Method Validation AP
Openpose paper COCO2014-Val-1k 58.4
Openpose model COCO2014-Val-1k 56.3
This repo COCO2014-Val-1k 58.2

We also evaluated the performance on the full COCO2014 validation set.

Method Validation AP
Openpose model COCO2014-Val 58.9
This repo COCO2014-Val 59.0

You may find our trained model at: Dropbox

You may also find our prediction results on COCO2014 validation (json format w/o images): Dropbox

Acknowledgment

This repo is based upon @anatolix's repo keras_Realtime_Multi-Person_Pose_Estimation, and @michalfaber's repo keras_Realtime_Multi-Person_Pose_Estimation

Citation

Please cite the paper in your publications if it helps your research:

@inproceedings{cao2017realtime,
  author = {Zhe Cao and Tomas Simon and Shih-En Wei and Yaser Sheikh},
  booktitle = {CVPR},
  title = {Realtime Multi-Person 2D Pose Estimation using Part Affinity Fields},
  year = {2017}
  }

@inproceedings{wei2016cpm,
  author = {Shih-En Wei and Varun Ramakrishna and Takeo Kanade and Yaser Sheikh},
  booktitle = {CVPR},
  title = {Convolutional pose machines},
  year = {2016}
  }
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].