GithubHelp home page GithubHelp logo

Comments (5)

chenyilun95 avatar chenyilun95 commented on July 28, 2024

I think that's a bug we overlooked. But this kind of case may occur rarely and it won't hurt performance directly if it happens when testing.

from tf-cpn.

lilhope avatar lilhope commented on July 28, 2024

When computing loss, use the Tensor 'valid' multiple 'label', so the point out of boundary will not contribute to the loss, it won't hurt the performance.

from tf-cpn.

aBlueMouse avatar aBlueMouse commented on July 28, 2024

I agree with the author's opinion, this situation is so few that it won't make harm, I just want to make sure whether you have some reasons. @chenyilun95
May you explain more details, I'm not quite catch what you mean, how to choose the 'valid label'? @lilhope
Thanks a lot!

from tf-cpn.

lilhope avatar lilhope commented on July 28, 2024

Sorry I did not explain it clearly. In practice, I notice that keypoints out of boundary was mainly come from the rotate augmentation. In dataset.py, line 118 ~ 119, the author use a valid variable to label the out of boundary keypoints as Invisible. In network.py, line 128 and line 132, the 'valid' act as the mask to make label[i,:]=0 where valid[i] < 0, so the label of the out of boundary keypoint was all zero.
So I think the out of boundary label won't harm the performance.

from tf-cpn.

aBlueMouse avatar aBlueMouse commented on July 28, 2024

@lilhope I get it, thanks!

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.