We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
0:我可以理解为真人脸, 1:为假人脸 2:代表着什么呢
The text was updated successfully, but these errors were encountered:
电子攻击 和其他方式攻击两类
Sorry, something went wrong.
根据test.py里所写的,
label = np.argmax(prediction) value = prediction[0][label]/2 if label == 1: print("Image '{}' is Real Face. Score: {:.2f}.".format(image_name, value)) result_text = "RealFace Score: {:.2f}".format(value) color = (255, 0, 0) else: print("Image '{}' is Fake Face. Score: {:.2f}.".format(image_name, value)) result_text = "FakeFace Score: {:.2f}".format(value) color = (0, 0, 255) print("Prediction cost {:.2f} s".format(test_speed))
得出结论1应是真人脸,而0和2分别为不同的攻击类别。在作者提供的sample里只有影印和电子攻击的例子,所以0和2应该分别就是它们了。
No branches or pull requests
0:我可以理解为真人脸,
1:为假人脸
2:代表着什么呢
The text was updated successfully, but these errors were encountered: