Outputs of the last layer and classification #6
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello,
I am trying to get more insight about how the classification part is working and I would be grateful if you could help me about this topic.
When using the
Inception_2logitsmodel, first we get two embedding values for each input image in _loss_inception_2logits function, which actually runs the inputs through your proposed model. Then, in _embedding_2logits function we get the concatenated embeddings and give them to a fully connected layer which outputs 2 classes. I guessed, in our case, it is the probabilities of whether the input image pair is a positive (real-real) pair or a negative (real_forgery) pair but it does not seem so. Here are my questions:Thank you so much in advance.
Kind Regards.
Hi。you are right, class 0 means negative pair. class 1 means postive pair
just in _embedding_2logits
I think the logits is not interpretable, and this is the blackbox problem of deeplearning, But sometimes in actual scenario, all we need is a threshold, it doesn't matter the threshold value is negative or positive, It just works