python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How contrastive loss work intuitively in siamese network
I am having issue in getting clear concept of contrastive loss used in siamese network.
Here is pytorch formula
torch.mean((1-label) * torch.pow(euclidean_distance, 2) +
...
Talha Anwar
Votes: 0
Answers: 1
Tensorflow ValueError: Shapes (64, 1) and (1, 1) are incompatible
I'm trying to build a Siamese Neural Network to analyze the MNIST dataset, however when trying to fit the model to the dataset I encounter this problem according to which I have training data and labe...
Alex Aramyan
Votes: 0
Answers: 1
Trying to train a model on Jupiter and Google Colab. getting errors when trying to implement gradient calculations
The errors I get are:
ZipFile requires mode 'r', 'w', 'x', or 'a'
or
ZipFile.__init__() got multiple values for argument 'mode'
or
TypeError: 'ZipFile' object is not callable
My Code:
@tf.function
def...
KOR
Votes: 0
Answers: 1
Could someone explain me what's behind the FaceNet Paper ? (one-shot learning, siamese network and triplet loss)
I'm struggling since about 3 weeks on my One-Shot learning project. I'm trying to unlock my computer with my face. Unfortunately, I'm far from this task.
First, I wanted to understand well the concept...
ThOpaque
Votes: 0
Answers: 0