Skip to main content
0 votes
1 answer
85 views

So I was following this tutorial: Fast Ai Siamese, however after I completed it, I got 50% accuracy. I tried loads of things, but nothing worked. So the only place where I think the problem could be ...
0 votes
1 answer
347 views

as the title suggests, I'm trying to convert a notebook in keras 3, but idk why it's not working properly. This is the original notebook (tell me if it's better to put here the code), I'm trying to do ...
0 votes
0 answers
191 views

I'am enable to run my code via Python. The main problem of it is that, the error is plotting "Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)". Is the problem from my ...
1 vote
0 answers
357 views

I intend to train a siamese neural network with triplet loss using semi-hard triplet mining technique. However, I am pretty confused of how tfa.losses.TripletSemiHardLoss() do the tricks. I've already ...
1 vote
0 answers
82 views

I am having this problem for a long time while trying to recreate this paper's https://arxiv.org/pdf/1703.07737 implementation in tensorflow 2.10.0. The problem is when i apply the same loss and data ...
2 votes
1 answer
133 views

I tried to implement the siamese network for image classification task according to the code below: class SiameseNetwork(nn.Module): def __init__(self): super(SiameseNetwork, self)....
1 vote
1 answer
305 views

I am confused by the different interpretations of one-shot-learning found on the Internet. Wikipedia claims that "one-shot learning aims to classify objects from one, or only a few, examples"...
1 vote
2 answers
1k views

I want to fine tune a Sentence Transformer (For example MPNET) using Contrastive Learning. Is it possible to use the Huggingface Trainer API for this? If yes, how? Can you kindly guide me with some ...
0 votes
1 answer
263 views

I write a BiLSTM-Siamese Network to measure the string similarities using pairwise distance and cosine similarities with the detail as follows: class SiameseNetwork(nn.Module): def __init__(self, ...
0 votes
1 answer
105 views

I need help to build a generator for a Siamese model in Keras and Tensorflow. I succeeded in creating a python generator but it resulted too slow for my purposes. My idea was to use Tensorflow ...
0 votes
0 answers
71 views

I wrote some python code to develop a siamese network. The sub-clase from keras.Model is: class modelSIAMESE(keras.Model): def init(self): super().init() input_shape = target_shape + (3,) input_a = ...
2 votes
1 answer
2k views

I'm looking for a method to Spot the difference between two images using AI. It's my university project, that my professor asked me to create a program to detect and spot the differences in two pairs ...
1 vote
0 answers
56 views

I want to train a model for subjective question scoring using ALBERT and a Siamese network, which consists of a bidirectional LSTM and a fully connected layer. During training, I've noticed that the ...
0 votes
2 answers
836 views

I'm trying to build a Siamese Network for https://www.kaggle.com/moltean/fruits dataset. I've picked 10 Images per class from this dataset. There are a total of 131 classes in this dataset. I'm using ...
0 votes
0 answers
110 views

I am building a siamese model using Lstm, I have trained and tested the model but I condn’t inference it on sigle sample Here’s the model class SiameseLstm(nn.Module): def __init__(self): ...

15 30 50 per page
1
2 3 4 5
9