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
Loss function for changing a classification network to a regression one
I am trying to change a neural network that classifies pointclouds into 40 different classes, to a regression networks that predicts a specific property of them in three points(x,y,z). for the loss fu...
NR5
Votes: 0
Answers: 1
having a very large loss when I am training a regression loss
I want to predict the center of the pupil from an image. so I used a CNN with 3 Dence layer.
so the input is an image and the output is a coordinate (X,Y).
my model is :
from keras.layers import Layer...
amina
Votes: 0
Answers: 1
how to combine keras loss with other intermediate output loss using model.add_loss
I am trying to reproduce COSTA/VAE code to make it run on tf2.x and Keras 2.x rather than 1.x.
however, I am facing problem in combining Keras loss (which are tensors) with some intermediate layer out...
ALI Q SAEED
Votes: 0
Answers: 1