Code Monkey home page Code Monkey logo

Comments (19)

briantse100 avatar briantse100 commented on July 28, 2024 1

@guoqiangqi OK, I see it. You has calculated it by adding the GT of attribute classes. Thanks!

from pfld.

guoqiangqi avatar guoqiangqi commented on July 28, 2024 1

from pfld.

guoqiangqi avatar guoqiangqi commented on July 28, 2024

Hi,
I found this code is for training on 98-pts dataset. Do you have trained on 68-pts dataset 300-W and get the same accuracy as the PFLD paper said?

i have no trained with 300-W database ,so i did not compare the accuracy between the paper and my code ,and the rusults on WFLW(98-pts) is poor ,is sure that the LAB net should be better .

from pfld.

zoooo0820 avatar zoooo0820 commented on July 28, 2024

@guoqiangqi Thanks for your reply. I have tried on 300-W, and the result is not good either. I'll try LAB.

from pfld.

XhqGlorry11 avatar XhqGlorry11 commented on July 28, 2024

@guoqiangqi Hi, it seems that in your code you don't use auxiliary net to calculate loss. Have you tried that trick yet?

from pfld.

guoqiangqi avatar guoqiangqi commented on July 28, 2024

I have not updated the euler angles pridiction loss code ,you shou add the loss code before you train.

from pfld.

XhqGlorry11 avatar XhqGlorry11 commented on July 28, 2024

@guoqiangqi Do you use solvePnP from opencv to calculate ground-truth euler angles?

from pfld.

guoqiangqi avatar guoqiangqi commented on July 28, 2024

yeah,but my code has a flaw that i calculate euler angles ground-truth while training process,so the training speed have slowed down because some work have to be finished on the cpu ,you should calculate the euler angles in the preprocess code.

from pfld.

guoqiangqi avatar guoqiangqi commented on July 28, 2024

The related code is included in euler_angles.py

from pfld.

XhqGlorry11 avatar XhqGlorry11 commented on July 28, 2024

@guoqiangqi OK, thank you. I have noticed that. I will give a try and hope to get as good result as paper mentioned.

from pfld.

guoqiangqi avatar guoqiangqi commented on July 28, 2024

@guoqiangqi OK, thank you. I have noticed that. I will give a try and hope to get as good result as paper mentioned.
I have reviewed the code of this version ,the code for calculating euler angles prediction loss have been updated early ,you can find this part in train_model.py by searching the variable named _sum_k .

from pfld.

XhqGlorry11 avatar XhqGlorry11 commented on July 28, 2024

@guoqiangqi emmm, so the result is poor when you have added those loss terms?

from pfld.

guoqiangqi avatar guoqiangqi commented on July 28, 2024

@guoqiangqi emmm, so the result is poor when you have added those loss terms?

I evaluated the mean error and failure rate on WFLW dataset ,which has 98-pts per face ,and LAB is further better ,but PFLD is faster ,so it is hard to say which one is better.

from pfld.

XhqGlorry11 avatar XhqGlorry11 commented on July 28, 2024

@guoqiangqi Author reports both better accuracy and faster speed over LAB on 300W dataset in paper. So I expect similar result on WFLW dataset. But it seems that there is a series accuracy drop of PFLD on WFLW.

from pfld.

guoqiangqi avatar guoqiangqi commented on July 28, 2024

from pfld.

briantse100 avatar briantse100 commented on July 28, 2024

@guoqiangqi thanks for your open source work. In the paper, except for angle, the loss also has the weighting parameter WnC.

In addition, we categorize a sample into one or multiple attribute classes including profile-face, frontal-face, head-up, head-down, expression, and occlusion. The weighting parameter ω n c is adjusted according to the fraction of samples belonging to class c (this work simply adopts the reciprocal of fraction).

How to calculate it? Whether to add the GT of multiple attribute classes or calculate by the pose angle?

from pfld.

guoqiangqi avatar guoqiangqi commented on July 28, 2024

@guoqiangqi Author reports both better accuracy and faster speed over LAB on 300W dataset in paper. So I expect similar result on WFLW dataset. But it seems that there is a series accuracy drop of PFLD on WFLW.

Even that ,the results of LAB is better than PFLD on AFLW dataset ,you can compare the mean error form both paper.

from pfld.

XhqGlorry11 avatar XhqGlorry11 commented on July 28, 2024

@guoqiangqi I didn't compare the exact number from both paper and thank u for pointing out. It seems that PFLD paper has some inappropriate conclusion.

from pfld.

ShaunZheng avatar ShaunZheng commented on July 28, 2024

The WFLW dataset has considerated the complicated situation ,many faces has big angles of deflection ,and PFLD has pretrained on WFLW,so there are more images have been used for training. [email protected] From: xhq11 Date: 2019-06-03 18:04 To: guoqiangqi/PFLD CC: Guoqiang QI; Mention Subject: Re: [guoqiangqi/PFLD] Question about accuracy of the model (#1) @guoqiangqi Author reports both better accuracy and faster speed over LAB on 300W dataset in paper. So I expect similar result on WFLW dataset. But it seems that there is a series accuracy drop of PFLD on WFLW. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

Hi,did you mean the PFLD perfect result is due to the pre train on WFLW?

from pfld.

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.