-
In all the case we are taking L1 distance of siamese fc outputs which leads to negative values. When taking sigmoid on this it always gives 0. eventually leading all values predicted correctly
Sumes updated
5 years ago
-
Hi there, I wounder if anyone could assist me. Forgive me if this isn't the correct place for this or it is not in the perfect format...
I am trying to convert the Keras Siamese example into an est…
-
I am using keras with tf backend to create a siamese network, I am trying to create a custom loss function for triplet loss and need to
pass it with multiple outputs in a one tensor that I can then …
-
It would be great if there is a test.py template that could be used to infer testing data with pretrained model in saved/.
Also, I notice that valid_epoch, train_epoch and the inference code seem to …
-
Upgrading to `pip install tf-nightly-gpu` from `pip install tensorflow` (1.5) slows down feeding about 4x
Feeding 100MB array used to take 15ms, and it takes 60ms after the change. I think this is …
-
I am using python 3 with anaconda, and trying to use a tf.contrib loss function with a Keras model.
The code is the following
from keras.layers import Dense, Flatten
from keras.op…
-
Currently it is very cumbersome to model a neural network as we have to initialized weight and bias manually. For the MNIST example we want to pass from that:
##### Old API
```Nim
# Config (API i…
-
might be interesting to compare with the alternative triplet loss described in: https://arxiv.org/abs/1412.6622
-
Hello ~
I am a learner of pytorch , I run your code in my pc , but it report BrokenPipeError: [Errno 32] Broken pipe ,and my os is Win10 ,Pytorch is 0.4 and Jupyter is 1.0
the details are as f…
-
Hi,
I downloaded this repo and I think the only modification I made to the code was to change the first line in In [15] from `net = SiameseNetwork().cuda()` to `net = SiameseNetwork()#.cuda()`. I mad…