C4W4L02 One Shot Learning

  Рет қаралды 100,925

DeepLearningAI

DeepLearningAI

Күн бұрын

Take the Deep Learning Specialization: bit.ly/2Tqxw5z
Check out all our courses: www.deeplearning.ai
Subscribe to The Batch, our weekly newsletter: www.deeplearning.ai/thebatch
Follow us:
Twitter: / deeplearningai_
Facebook: / deeplearninghq
Linkedin: / deeplearningai

Пікірлер: 32
@atulsain6170
@atulsain6170 9 ай бұрын
He uploaded this video 5 years ago. 😅 I am learning machine learning for more than a year and I learned this technique today.
@lampham7874
@lampham7874 7 күн бұрын
I have watched a few videos about few shot learning before this on but this is the most understandable.
@donghunpark379
@donghunpark379 4 жыл бұрын
In summary, rather than training a classifier that can classify a database by label, training a 'similarity function' that can 'distinguish' between different images makes (recognition)system free to the number of databases. Good Idea.
@mahmoudfathy2074
@mahmoudfathy2074 3 жыл бұрын
I like the fact that I can not see them as the same person while the algorithm will learn better than me 🤣 Danielle's looking great in the second photo though 😁
@SalteRage
@SalteRage 3 жыл бұрын
Isn't this the description of similarity (or metric) learning? How is one-shot learning different?
@thiliniyatanwala2349
@thiliniyatanwala2349 5 жыл бұрын
Thank you for sharing the knowledge ..Can you please give me some idea how zero shot/one shot learning can be used to apply in the area edge computing ? will edge computing be benefited from zero shot learning ?
@trident8638
@trident8638 5 жыл бұрын
how to implement this using python and tensorflow?
@sandipansarkar9211
@sandipansarkar9211 3 жыл бұрын
nice explanation
@fratcetinkaya8538
@fratcetinkaya8538 Жыл бұрын
Does those similarity function work on another things, daily prodoucts etc. for example..
@ammarazlan2919
@ammarazlan2919 5 жыл бұрын
Could you recommend an established model (like alexnet for image recognition) for time series forecasting?
@RinkiKumari-us4ej
@RinkiKumari-us4ej 3 жыл бұрын
he is not going to reply you😂😂
@adamlee9347
@adamlee9347 5 жыл бұрын
Danielle.. lol her second photo looks so much better
@tarat.techhh
@tarat.techhh 3 жыл бұрын
lol true dat
@mofiro6758
@mofiro6758 3 жыл бұрын
Doesn't it need to retrain the network when adding a new person to the database? If so, what if we add like 10 people or 100 new people?
@petarulev6977
@petarulev6977 2 жыл бұрын
No. You would need to do it if you had a classification task (i.e you would need that your final dense layer has x+1 output probabilities after you add 1 more person on top of the database with x people). Not a good idea, since each class would have to see at least a couple of examples. On the other hand, you can see this as regression - have just a normal dense layer without activation that outputs a distance. I am speculating this distance is just the probability of that the pair is of the same person, but im not sure.
@Vinay1272
@Vinay1272 8 ай бұрын
The network still needs to learn the facial structure of the new person, right? In fact, the network needs to learn the facial structure of all the people in the database do calculate the differences. Isn't it?@@petarulev6977
@debarunkumer2019
@debarunkumer2019 3 жыл бұрын
How do we determine the threshold value for every data input ?
@MuhannadGhazal
@MuhannadGhazal 3 жыл бұрын
the function will return the face distance and you will check this number with your own threshold. if it's below 0.4 then it's the same person, if above then it's a different person.
@MrMikael1337
@MrMikael1337 3 жыл бұрын
I understand that a similarity function could discriminate the new class from previous classes. But still, doesnt this require that the model has a very good "understanding" (i.e been trained on a lot of samples) of the previous classes? Otherwise, it wont understand what a face even is.
@osiris1102
@osiris1102 3 жыл бұрын
You can train the network on many face images from the internet then it would be ready to tell if the two images are of the same person or not.
@tsunghan_yu
@tsunghan_yu 5 жыл бұрын
is it like nearest neighbors?
@CyborgGaming99
@CyborgGaming99 5 жыл бұрын
I can see why you would think that, but no, it is not. The basis of KNN is that it measures Euclidean Distance of one point in comparison to others, and here we do NO such thing. Here, you just measure the similarity of two compared images, no distance between them, or nothing like that which you would find in KNN or some clustering algorithms
@ta6847
@ta6847 4 жыл бұрын
It depends on how the difference function is implemented. You can imagine representing each face as some embedding or encoding, and then using some distance metric to determine similarity.
@ta6847
@ta6847 4 жыл бұрын
Apparently that's exactly what's described here: kzfaq.info/get/bejne/bNCWqpt-2rHboH0.html Again, not nearest neighbor exactly, but definitely the same flavor.
@MrAcenit
@MrAcenit 3 жыл бұрын
Isnt this just knn classification?
@Jononor
@Jononor 3 жыл бұрын
With kNN the distance metric is a standard function such as euclidean/cosine/manhattan distance, where as here the distance function is learned from data (using a neural network). This makes this approach work much better for complex high-dimensional data, such as images, audio etc.
@madhivarman508
@madhivarman508 6 жыл бұрын
what if the person wears hat and goggles? does it work in that case?
@donm7906
@donm7906 6 жыл бұрын
to some degree, I'm sure it won't work if the person wears mask
@PandemicGameplay
@PandemicGameplay 4 жыл бұрын
Usually they would require you to not wear stuff when getting a photo ID for a job or working somewhere for that exact reason.
@user-vl7mi3dx9j
@user-vl7mi3dx9j 3 жыл бұрын
Chinese girl looks the same, but with flipped picture
@a.yashwanth
@a.yashwanth 4 жыл бұрын
What is the girl name on top right?😜
@alik6283
@alik6283 3 жыл бұрын
Men of Cultures' Meet
C4W4L03 Siamese Network
4:52
DeepLearningAI
Рет қаралды 133 М.
Few-Shot Learning (1/3): Basic Concepts
18:39
Shusen Wang
Рет қаралды 70 М.
Smart Sigma Kid #funny #sigma #comedy
00:19
CRAZY GREAPA
Рет қаралды 6 МЛН
Универ. 13 лет спустя - ВСЕ СЕРИИ ПОДРЯД
9:07:11
Комедии 2023
Рет қаралды 3,9 МЛН
Sprinting with More and More Money
00:29
MrBeast
Рет қаралды 175 МЛН
🍕Пиццерия FNAF в реальной жизни #shorts
00:41
Zero-Shot Learning - Dr. Timothy Hospedales
29:08
Компьютерные науки
Рет қаралды 36 М.
Zero, One, and Few Shot Prompting with Langchain and OpenAI LLMs
20:24
Ryan Nolan Data
Рет қаралды 2,6 М.
C4W3L09 YOLO Algorithm
7:01
DeepLearningAI
Рет қаралды 213 М.
C4W4L04 Triplet loss
15:30
DeepLearningAI
Рет қаралды 124 М.
Few-shot and Zero-shot Learning - Part 01
21:31
NPTEL-NOC IITM
Рет қаралды 10 М.
Few-Shot Learning (3/3): Pretraining + Fine-tuning
27:31
Shusen Wang
Рет қаралды 27 М.
Zero-Shot Classification (Learning) with Embeddings
15:22
Hands-on AI
Рет қаралды 3 М.
Smart Sigma Kid #funny #sigma #comedy
00:19
CRAZY GREAPA
Рет қаралды 6 МЛН