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

请问scrfd里面提取的特征值在哪。 #1

Open
enginefuture opened this issue Aug 17, 2021 · 3 comments
Open

请问scrfd里面提取的特征值在哪。 #1

enginefuture opened this issue Aug 17, 2021 · 3 comments

Comments

@enginefuture
Copy link

如题。想做人脸比对,但是看半天没找到检测的特征值是哪个。ty。

@ppogg
Copy link
Owner

ppogg commented Aug 17, 2021

兄弟,你试下打印出向前推理的张量,在/mmdet/apis/inference.py文件里边:

# We don't restore `torch.is_grad_enabled()` value during concurrent
    # inference since execution can overlap
    torch.set_grad_enabled(False)
    result = await model.aforward_test(rescale=True, **data)
    return result

上述中print(result)

@enginefuture
Copy link
Author

感谢了

@enginefuture
Copy link
Author

兄弟,你试下打印出向前推理的张量,在/mmdet/apis/inference.py文件里边:

# We don't restore `torch.is_grad_enabled()` value during concurrent
    # inference since execution can overlap
    torch.set_grad_enabled(False)
    result = await model.aforward_test(rescale=True, **data)
    return result

上述中print(result)

还想请教一个问题,现在看到的关键点是5个,我找到了kpss,想请问,如何增加检测的关键点,是不是需要重新训练才行

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

2 participants