Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NME metric #20

Open
HaoKun-Li opened this issue Oct 9, 2020 · 7 comments
Open

NME metric #20

HaoKun-Li opened this issue Oct 9, 2020 · 7 comments

Comments

@HaoKun-Li
Copy link

Hello, thanks for your excellent work!

The NME of different datasets is an important metric. For a fair comparison, may you share the code about how to calculate the NME? Or are there any official code to calculate the NME metrics, and the visibility vector which is shown in "Pose-Invariant 3D Face Alignment(ICCV 2015)" as follow:
image
image

Looking forward to your reply. Good luck!

@cleardusk
Copy link
Owner

For the NME part, you can refer to the benchmark of 3DDFA, here.
For PIFA, you may refer to the public code in their project page.

@shachargluska
Copy link

Can you share the expected NME of the three onnx models (mobilenet, mobilenet0.5, resnet22) on both datasets?
I've implemented it myself but I'm not sure I got the correct numbers.

@fashionguy
Copy link

@shachargluska could you share your code.

@shachargluska
Copy link

I hacked pieces from this repo to the benchmark of 3DDFA
Unfortunately I didn't keep it.
I do have the results:

mobilenet_v1_1.0_120x120 - 3.68%
mobilenet_v1_0.5_120x120 - 3.80%
resnet_22_120x120 - 3.67%

Those are nme over aflw2k3d

@lewisandJiang
Copy link

I hacked pieces from this repo to the benchmark of 3DDFA Unfortunately I didn't keep it. I do have the results:

mobilenet_v1_1.0_120x120 - 3.68% mobilenet_v1_0.5_120x120 - 3.80% resnet_22_120x120 - 3.67%

Those are nme over aflw2k3d

Could you share the code ? I will appreciate it very much, Sir!

@shachargluska
Copy link

I hacked pieces from this repo to the benchmark of 3DDFA Unfortunately I didn't keep it. I do have the results:
mobilenet_v1_1.0_120x120 - 3.68% mobilenet_v1_0.5_120x120 - 3.80% resnet_22_120x120 - 3.67%
Those are nme over aflw2k3d

Could you share the code ? I will appreciate it very much, Sir!

@lewisandJiang
Sorry, but I didn't save this work.

@laceyliao
Copy link

I hacked pieces from this repo to the benchmark of 3DDFA Unfortunately I didn't keep it. I do have the results:

mobilenet_v1_1.0_120x120 - 3.68% mobilenet_v1_0.5_120x120 - 3.80% resnet_22_120x120 - 3.67%

Those are nme over aflw2k3d
@shachargluska

I have applied benchmark.py3DDFA to 3DDFA_v2 by changing the load model codes, but I got weird results: mobilenet_v1_1.0_120x120 23.654% (aflw20003d) and 22.853%(aflw), should I change the "reconstruct_vertex" code or the code to calculate nme? Hoping for your reply, I will appreciate it very much, Sir!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants