Giter Site home page Giter Site logo

Comments (5)

bearpaw avatar bearpaw commented on May 28, 2024

Hi, the augmentation part should be uncommented (commented only for the debugging purpose).

Sorry that I cannot remember how to compute 1.4375. But this code is mostly motivated by https://github.com/shihenw/convolutional-pose-machines-release and https://github.com/anewell/pose-hg-train

For LSP, we use the image center as the center of the human body for testing images, and use the bounding box center as the center of the human body. Please refer to the JSON generation code for more details https://github.com/bearpaw/pytorch-pose/blob/master/miscs/gen_lsp.m#L92-L93

from pytorch-pose.

zhiqiangdon avatar zhiqiangdon commented on May 28, 2024

Thanks! @bearpaw

How do you compute the head size for the final PCKh? The above code doesn't compute it. Do you use the L2 distance between the neck and head joints?

According to your evaluation code https://github.com/bearpaw/pytorch-pose/blob/master/evaluation/eval_PCKh.py, SC_BIAS = 0.6 is used to scale the pre-computed head size for the MPII data. Do the LSP data also require this?

I find this commented line of code
# pts[:, 0:2] -= 1 # Convert pts to zero based
in both the LSP and MPII dataloader files. I guess that the annotations provided in the original .mat file are one based. The python language is zero based. What do you think of this problem?

Thanks!

from pytorch-pose.

hzh8311 avatar hzh8311 commented on May 28, 2024

So do you figure it out the last question? Does it necessary to minus 1 for annotation?

from pytorch-pose.

zhiqiangdon avatar zhiqiangdon commented on May 28, 2024

@hzh8311 I think it doesn't make too much difference whether minus 1 or not. It's only 1 pixel difference on the original resolution. @bearpaw , what do you think?

from pytorch-pose.

bearpaw avatar bearpaw commented on May 28, 2024

Please refer to #19 for the discussion of minus 1.

from pytorch-pose.

Related Issues (20)

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.