Questions tagged [one-shot-learning]
12 questions
3
votes
4 answers
Siamese Network in Keras
I‘m looking for a minimal applied example for the implementation of a (one shot) Siamese Network, preferably in Keras.
I‘m well aware of the various data science online pages and the respective examples and exercises that can be found there.…
Peter
- 7,277
- 5
- 18
- 47
2
votes
1 answer
Why does Siamese neural networks use tied weights and how do they work?
Reading this paper on one-shot learning "Siamese Neural Networks for One-shot Image Recognition" I was introduced to the idea of Siamese Neural Networks.
What I did not fully grasp was what they meant by this line:
This objective is combined with…
Frank Weslien
- 21
- 1
2
votes
0 answers
What is zero-shot vs one-short vs few-shot learning?
Are there any papers/research work that deals with generalizing the matrix of how the *-shot(s) learning are defined?
There's a wide variety of papers that titled themselves as *-shot(s) learning, with some variants of how *-shots are defined,…
alvas
- 2,340
- 6
- 25
- 38
2
votes
0 answers
Few shot learning and object detector
I have a dataset with a lot of classes (~10000+) but few examples by classes (~15-). I want to classify these classes, but there are some specificities. My examples provide from a video stream. Currently, I use a detector (like YOLO) to do object…
NM007
- 21
- 2
1
vote
1 answer
what does one Shot learning mean? do they only need one image to train for some new class detection?
Being new to deep learning I am somewhat struggling to grasp the idea of one shot learning.
Let us say I have a class to detect which didn't exist in training dataset such as COCO or Image NET. Can I train model for that class using only image or…
Atlas Bravoos
- 113
- 4
1
vote
0 answers
Source to learn/understand one-shot learning
I'm currently looking into one-shot learning and I wonder if there are any good sources/tutorials out there, which demonstrate one-shot learning in a (more or less) "hands-on" way?
Also some hints to indroductory literature to one-shot learning…
Peter
- 7,277
- 5
- 18
- 47
1
vote
0 answers
How do I test one-shot model preformance against flawed categories?
I'm in the process of reworking the ASAM database. Excerpted, it looks like this:
4155 PIRATES BULK CARRIER GULF OF ADEN: Bulk carrier fired upon 3 Aug 09 at 1500 UTC while underway in position 13-46.5N 050-42.3E. Ten heavily armed pirates…
hrokr
- 131
- 5
1
vote
1 answer
Should number of classes be the same in few shot learning train and test?
I used to believe in k-way-n-shot few-shot learning, k and n (number of classes and samples from each class respectively) must be the same in train and test phases. But now I come across a git repository for few-shot learning that uses different…
Marzi Heidari
- 249
- 3
- 11
0
votes
1 answer
Siamese Network for face comparison wont learn, accuracy stuck on 0.5, and loss stuck too
I'm trying to train a siamese network which contains a CNN and an embedding layer at the end to yield 2 similar (close) vectors for 2 images of the same person.
I'm using the LFW_Cropped dataset, and some custom made generators. The generators are…
Jhon Margalit
- 101
- 3
0
votes
1 answer
Should I normalise image pixel wise for pretrained VGG16 model
My goal is to use pre-trained VGG16 to compute the feature vectors excluding the top layer. I want to compute embedding(no training involved) per image one by one rather than feeding batches to the network as this network is just to compute…
offset-null1
- 11
- 4
0
votes
2 answers
Binary Classification - One Hot Encoding preventing me using Test Set
I have a preprocessing pipeline that includes replacing missing values and onehotencoding for the categorical variables.
When I try to use my model on the test set, it explains that the number of columns it expects differs. This is due to one hot…
Viraj Vaitha
- 1
- 1
- 1
0
votes
1 answer
Difference between Siamese Network and Prototypical Networks for One Shot Learning
I am having a bit of trouble understanding how the architecture of prototypical networks in a one shot learning use case differs from Siamese networks.
If I’m understanding correctly, Siamese networks maps pairwise examples using same weights and…
Bosonphoton
- 3
- 2