Giter Site home page Giter Site logo

fangyh09 / posedatasets Goto Github PK

View Code? Open in Web Editor NEW
27.0 2.0 10.0 1.4 MB

Filter multiple pose datasets (coco, flic, lsp, mpii, ai_challenge)

Python 4.13% Lua 1.13% MATLAB 3.27% C++ 1.11% Makefile 0.01% Jupyter Notebook 89.82% C 0.52%
coco lsp mpii ai-challenges pose-estimation pose pose-dataset

posedatasets's Introduction

PoseDatasets

Usage

python ai_dataset.py
python coco_dataset.py
python mpii_dataset.py
python lsp_dataset.py

Default setting

# KEYPOINT_NUM = 10
# WIDTH_RATIO = 0.2
# HEIGHT_RATIO = 0.3
# PERSON_NUM = 10
filter_configs = {
    "c1": [10, 10, 0.2, 0.3],
    "c2": [10, 13, 0.2, 0.3],
    "c3": [5, 10, 0.2, 0.3],
    "c4": [5, 8, 0.2, 0.3],
    "c5": [8, 10, 0.05, 0.1],
    "c6": [8, 8, 0.1, 0.15],
    "c7": [8, 8, 0.3, 0.6]
}
mode = "c7"

You can use different mode or self-designed mode in img_filter.py

MPII data format

AI challenge data format

Attention⚠️

when judge vis > 0

posedatasets's People

Contributors

fangyh09 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

Watchers

 avatar  avatar

posedatasets's Issues

mpii data?

the mpii data dont have the test dataset???
I must split it from the train dataset??? and use 0.9 0.1 to split it??

TypeError: '>' not supported between instances of 'dict_values' and 'int‘

python mpii_dataset.py have error as:
mpii_dataset.py:79: FutureWarning: elementwise != comparison failed and returning scalar instead; this will raise an error or perform elementwise comparison in the future.
if annopoint != []:
mpii_dataset.py:102: DeprecationWarning: The truth value of an empty array is ambiguous. Returning False, but in future this will result in an error. Use array.size > 0 to check that an array is not empty.
for v in annopoint['is_visible'][0]]
Traceback (most recent call last):
File "mpii_dataset.py", line 192, in
save_joints()
File "mpii_dataset.py", line 122, in save_joints
if not ok(feed_dict):
File "/content/drive/MyDrive/HumanPoseDemo/clone/PoseDatasets/img_filter.py", line 56, in ok
keypoint_num = np.sum(vis > 0)
TypeError: '>' not supported between instances of 'dict_values' and 'int'
How to solve?please!

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.