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
I am embedding with resnet_v1_50/E_BN2/Identity:0 I count the distance
resnet_v1_50/E_BN2/Identity:0
dot = np.sum(np.multiply(em1, em2), axis=1) norm = np.linalg.norm(em1, axis=1) * np.linalg.norm(em2, axis=1) similarity = dot / norm
But get weird numbers Also, the question is about the input layer, should the image be filed like this? RGB/BGR?
crops = cv2.resize(face, (112, 112), interpolation=cv2.INTER_CUBIC) crops = np.array(crops) crops = crops.astype('float64') crops -= 127.5 crops *= 0.0078125
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am embedding with
resnet_v1_50/E_BN2/Identity:0
I count the distance
But get weird numbers
Also, the question is about the input layer, should the image be filed like this? RGB/BGR?
The text was updated successfully, but these errors were encountered: