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有一个bug #59

Open
zhaozz-lab opened this issue Oct 31, 2020 · 0 comments
Open

计算NME有一个bug #59

zhaozz-lab opened this issue Oct 31, 2020 · 0 comments

Comments

@zhaozz-lab
Copy link

计算nme有一个错误吧
nniefacelib/PFPLD/test.py

79 interocular_distance = np.sqrt(np.sum((landmarks[:, 60, :] - landmarks[:,72, :]) ** 2, axis=1))
80 # interpupil_distance = np.sqrt(np.sum((landmarks[:, 60, :] - landmarks[:, 72, :]) ** 2, axis=1))
81 error_norm = np.mean(error_diff / interocular_distance)

interocular_distance的计算应该是真值之间的距离吧

@zhaozz-lab zhaozz-lab changed the title 计算NME有一个错误 计算NME有一个bug Nov 5, 2020
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

1 participant