GithubHelp home page GithubHelp logo

about heatmap size about tf-cpn HOT 6 CLOSED

chenyilun95 avatar chenyilun95 commented on July 28, 2024
about heatmap size

from tf-cpn.

Comments (6)

chenyilun95 avatar chenyilun95 commented on July 28, 2024

First question is how to upsample to generate the final output heatmap?

  1. Bilinear upsampling will give more accurate gradient back-propagation for each pixel. But in testing, directly upsampling cannot produce the heatmap of higher resolution, which probably reduce the gain. Similar experiment is done in https://github.com/chenyilun95/tf-cpn/issues/4, which may show it doesn't work with better gradient in high resolution.
  2. Skip-connection with the lower feature maps, but their semantics aren't clear probably.
  3. Deconv: recent work (Simple Baseline for Human Pose Estimation) says it's fine with deconvolution layer. But they still upsample the output to 64x48. If that works, it might works as well in higher resolution output.

Nevertheless, that's only my viewpoints. Experiment results says louder !

from tf-cpn.

akziq avatar akziq commented on July 28, 2024

I apologize for my ambiguous expression.
my question is that the NET 's last layer output is 64x48,which is(W/4,H/4).
how about change the last layer output to 256x192,which is (W,H).
so that orig-img (W,H)->(W/2,H/2)->(W/4,H/4)->.....->(W/4,H/4)->(W/2,H/2)->(W,H),(pre-heatmap)

pixel to pixel match between orig-img and pre-heatmap will increase AP ?

Thanks for your response .

from tf-cpn.

chenyilun95 avatar chenyilun95 commented on July 28, 2024

Excuse me... I'm now confused ... how do you change the last layer output to 256x192 ?

from tf-cpn.

akziq avatar akziq commented on July 28, 2024

for exmaple
1,add some intermediate layer(W/2,H/2) by (Bilinear upsampling / Deconv/Skip-connection )
2,and(Bilinear upsample / Deconv/Skip-connect) it to(W,H).

from tf-cpn.

chenyilun95 avatar chenyilun95 commented on July 28, 2024

emmmm... then I think the above comments are my response... Generally, I tend to think it won't work considering efficiency and effectiveness.

from tf-cpn.

akziq avatar akziq commented on July 28, 2024

@chenyilun95,Thank you,I get it.
I note that most people make the last layer output to 64* 64 (Hourglass Net etc.), 64*48(yours).
so the best practice of last layer output is (W/4,H/4)?
Thanks for your response ,I will close this issue.

from tf-cpn.

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.