Giter Site home page Giter Site logo

Comments (5)

bearpaw avatar bearpaw commented on May 24, 2024

@sydney0zq Yes you're right. The first conv should also be counted. Thus the total number of layers should be 9*3*3 + 3 = 84.

BTW, preresnet.py was just used for debugging at the beginning. It has never been evaluated for human pose estimation. You should try the hourglass model instead.

from pytorch-pose.

sydney0zq avatar sydney0zq commented on May 24, 2024

@bearpaw
Thanks for your check.
And another question in models/hourglass.py. It may be not an issue, the origin code in Lua puzzles me a lot.

I made several trials on this hourglass. Hourglass._make_hour_glass actually construct a model which may be like:

When I set depth=1, one time of Upsampling and Downsampling operation will be forwarded. So it means that depth controls the Upsampling and Downsampling times?

I am just a novice of pose-estimation, so thanks a lot.

from pytorch-pose.

bearpaw avatar bearpaw commented on May 24, 2024

Yes. The 64x64 feature maps will be down sampled by 2^depth times and then upsampled to the original resolution (64x64).

from pytorch-pose.

sydney0zq avatar sydney0zq commented on May 24, 2024

Hey, thanks for your patience.

But, hmmmmmm, I still have some points that I could not understand. Weeeeell, one more question
in eval_PCKh.m

% 0  - r ankle, 1 - r knee, 2 - r hip, 3 - l hip, 4 - l knee, 
% 5  - l ankle, 6 - pelvis, 7 - thorax, 8 - upper neck, 9 - head top, 
% 10 - r wrist, 11 - r elbow, 12 - r shoulder, 13 - l shoulder, 
% 14 - l elbow, 15 - l wrist
pa = [2, 3, 7, 7, 4, 5, 8, 9, 10, 0, 12, 13, 8, 8, 14, 15];

in showskeletons_joints.m:

            for child = 1:p_no
                if pa(child) == 0  % removed pa == 1, I think unnecessary 
                    continue;
                end
                x1 = x(pa(child));
                y1 = y(pa(child));
                x2 = x(child);
                y2 = y(child);
                
                plot(x1, y1, 'o', 'color', partcolor{child}, ... 
                    'MarkerSize', msize, 'MarkerFaceColor', partcolor{child});
                plot(x2, y2, 'o', 'color', partcolor{child}, ...
                    'MarkerSize', msize, 'MarkerFaceColor', partcolor{child});
                line([x1 x2], [y1, y2], 'color', partcolor{child}, 'linewidth', round(msize/2));
            end

What pa corrsponds for?

e.g. When we use pa(i), we take the pair joint of i? If it is, then upper neck may have two pairs, one for the head and the other for the thorax. Could you explain some mechanism about it?

Thanks again.

from pytorch-pose.

bearpaw avatar bearpaw commented on May 24, 2024

pa means the parent node of the current node. It determines which two body joints should be linked.

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.