Giter VIP home page Giter VIP logo

Comments (7)

luoyetx avatar luoyetx commented on September 18, 2024

Thanks a lot!

from jda.

prayshe avatar prayshe commented on September 18, 2024

@inspirit
Hi, I'm studying face alignment now. I have replaced conventional pixel difference by normalized pixel difference. However, it seems that NPD made no contribution to accuracy. Is there any part I need to modify to match the new feature? Thanks!

from jda.

inspirit avatar inspirit commented on September 18, 2024

this is not that easy as just using NPD instead of pixel diffs. you should take into account that response values will be different so you should select threshold more careful. please refer to the paper i mentioned above

from jda.

prayshe avatar prayshe commented on September 18, 2024

Actually, I have selected threshold from -0.25 to 0.25 when using NPD, while -64 to 64 when using PD. But I made no improvement. Anyway, thanks!

from jda.

inspirit avatar inspirit commented on September 18, 2024

in my implementation i'm generating random splits with 2 thresholds one negative and one positive.
threshold values are in range -127 to 127. so for each split i try 10 random thresholds * 30 random pixel positions, and then select the one that reduce the error better than others.
the split check against 2 thresholds is:

const float npd = response(feature_responses);
// thresh1 is negative, thresh2 is positive in [0,127) range
return npd < thresh1 || npd > thresh2;

from jda.

prayshe avatar prayshe commented on September 18, 2024

Thank you very much, I have read the paper. Originally I thought that double thresholds were only used in duadratic tree. Now I figure it out. Thanks!

from jda.

lieff avatar lieff commented on September 18, 2024

I have some questions too..:
const float npd = response(feature_responses);
Do you used response (f1-f2)/ (f1+f2) or more complicated function?

// thresh1 is negative, thresh2 is positive in [0,127) range
return npd < thresh1 || npd > thresh2;
What scale is used for npd weighing?

from jda.

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.