Code Monkey home page Code Monkey logo

mxnet_pose_for_ai_challenger's Introduction

Implementation of "Realtime Multi-Person 2D Pose Estimation using Part Affinity Fields" for AI challenger keypoint competition

Train demo

  1. install cython package
./cython/rebuild.sh

  1. Generate intermediate files

change folder name and json name in pose_io/parse_label.py

path1 = '/data/guest_users/liangdong/liangdong/practice_demo/AIchallenger/keypoint_validation_annotations_20170911.json' 
trainimagepath = '/data/guest_users/liangdong/liangdong/practice_demo/AIchallenger/validation_image/keypoint_validation_images_20170911/'
python pose_io/parse_label.py 
  1. Train
python TrainWeight.py

You can download mxnet model and parameters for vgg19 from here

Cite paper Realtime Multi-Person 2D Pose Estimation using Part Affinity Fields

@article{cao2016realtime,
  title={Realtime Multi-Person 2D Pose Estimation using Part Affinity Fields},
  author={Zhe Cao and Tomas Simon and Shih-En Wei and Yaser Sheikh},
  journal={arXiv preprint arXiv:1611.08050},
  year={2016}
  }

Other implementations of Realtime Multi-Person 2D Pose Estimation

Original caffe training model

Original data preparation and demo

Pytorch

keras

mxnet

mxnet_pose_for_ai_challenger's People

Contributors

qqsh0214 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mxnet_pose_for_ai_challenger's Issues

How about the performance?

Hi, I aslo particiate AI Challenger, using the original Caffe implementation of CMU-pose. However the result s are not desirable, the submission obtain a scroe of 41%.
I am wondering what is the performance of your implementation. If you did not get a desirable results either, maybe this kind of method is not fit for this challenger. After all, the evaluation criterion differs from COCO and MPI, which heavily depends on the amount of persons.

training error too big.

Training three epochs, and the error is very big.
[6876.2133925787293, 6788.8553634945738, 6788.854836900161]

a problem about computing a person's center

“human_annotations”:若干长度为4的整数型数列,存储人体框的位置。其中前两个参数为人体框左上角点的坐标值,后两个参数为人体框右下角点的坐标值。

"human_annotations":contains the positions of human bounding boxes. The first two parameters indicate the top left coordinates of the human bounding box, and the last two parameters are the lower right coordinates.

person_center = [box[str(human)][0] + box[str(human)][2]/2, box[str(human)][1] + box[str(human)][3]/2 ]
It is wrong to compute a person's center as this line code, it should be
person_center = [(box[str(human)][0] + box[str(human)][2])/2, (box[str(human)][1] + box[str(human)][3])/2 ]

如何生成ground truth?

您好
我想请问下如何生成PAF的ground truth
在论文中,如何判断一个点是否在limb上,有一个参数是控制
垂直方向的距离的,但是没有明确说是多少。
我在你的这个函数putVecMaps里看到了一个阈值1
如果我理解不错的话dist = np.absolute(ba_x * bc_y - ba_y * bc_x)计算的是
垂直方向的距离。
那么阈值只有1个像素点不是会很小吗?还是我的理解有问题。
谢谢!!

Training dataset

Hi,

I've been trying to download the training dataset from the official website here but the link appears to be completely broken.

Is there a possibility for you to give me access to the dataset? Maybe you have it backed up in a cloud service and you could provide me some download links...

Thanks in advance and hope you can help me.

how to deal the mask

hello,AIChallenger dataset does not give the segmentation,while coco dataset gives it.I want to know how to deal it?

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.