Lecture_27_Hope_to_skills by Irfan.a.malik.pptx

QuratulainBeni 21 views 30 slides Jul 21, 2024
Slide 1
Slide 1 of 30
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30

About This Presentation

Here is the lecture notes of phython Irfan Malik which is the series of lectures available on YouTube


Slide Content

Hope to Skills Lecture # 26 Irfan Malik, Dr. Sheraz Naseer

Agenda Applications of CNN Auto Encoders Introduction Architecture Encoder Feature space Decoder Types of Decoders Applications of Decoders Quiz 2

Previously 3 Artificial Neural Networks (ANN) Convolutional Neural Networks (CNN)

Application of CNN 4 Image Classification Image Segmentation Facial Recognition Gesture Recognition

Image Segmentation 5

Object Detection 6

Gesture Recognition 7

Face Detection 8

Encoders & Decoders in Deep Learning Encoder Converts original data into a secret code . Uses rules or transformations to hide the message. Decoder Reverts the secret code back to the original data . Understands the rules to reverse the encoding. Enables understanding of the hidden message. 9

What Are Autoencoders? 10 A type of neural network designed for dimensionality reduction and feature learning . Primary goal: To encode data into a compact representation and then decode it for reconstruction .

Anatomy of an Autoencoder 11 Components: Encoder, Bottleneck/Hidden Layer, Decoder.

Anatomy of an Autoencoder 12 Components: Encoder, Bottleneck/Hidden Layer, Decoder.

Encoder 13 The encoder is like a detective that learns to capture the most important features of an image or data. It's the first part of the autoencoder and responsible for compressing the input data.

How Does the Encoder Work? Imagine an encoder as a funnel that squeezes a big picture into a smaller representation. It transforms the input data (e.g., an image) into a compact form called the latent space or encoding . 14

Encoding Process 15 Step 1: The input data, such as an image, is fed into the encoder. Step 2: The encoder consists of layers of neurons that learn patterns and features in the data. Step 3: These patterns are combined and transformed into a compact representation in the latent space.

Why is it Important? 16 Data Compression: The encoding is much smaller than the original data, making it efficient to store and transmit. Feature Extraction: The encoder learns to extract valuable information, which can be used for various tasks.

What is a Decoder? The decoder is like an artist that takes the compact representation ( encoding ) from the encoder and recreates the original data . It's the second part of the autoencoder and responsible for generating output from the encoding. 17

How Does the Decoder Work? Imagine a decoder as a reverse funnel that expands the compact representation back into a full image or data . It transforms the encoding from the latent space back into a reconstructed output . 18

Decoding Process Step 1: The encoded data (latent space representation) is fed into the decoder. Step 2: The decoder consists of layers that learn to reverse the compression process by generating features and patterns. Step 3: These generated features are combined to reconstruct the original data. 19

Recreating Original Data The decoder's goal is to recreate data as close to the original input as possible. It uses the knowledge it gained from the encoder to generate meaningful features. 20

Why is it Important? Data Reconstruction: The decoder's job is to bring back the data's original form from the compressed encoding. Completing the Loop: Autoencoders aim to minimize the difference between the input and the reconstructed output. 21

Simple/Vanilla Auto-encoder 22

Types of Auto-Encoders Vanilla Autoencoder Denoising Autoencoder Variational Autoencoder (VAE): 23

Denoising Autoencoder 24

Input Image 25

Output Image 26

Denoising Autoencoder Denoising Autoencoders are a type of neural network. Designed to clean noisy or corrupted data and extract essential features . 27

Denoising Autoencoder 28

Denoising Autoencoder 29

Quiz 30
Tags