Final COPY Flashcards

1
Q

If we build a neural network with no activation function, we get a nonlinear classifier. (T or F)

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does a neuron compute?

A

A neuron computes a linear function (z = Wx +b) followed by an
activation function.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

During the backwards pass, each node in the graph receives
_______ gradients and multiplies them by __________ gradients to
compute _________ gradients.

A

Upstream, local, downstream

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the benefit of using a Pooling Layer in a CNN?

A

Reduces the dimensionality of each feature map

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The convolution operation shrinks the matrix of pixels (input image)
only if the size of the filter is greater than 1.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

In _______ layer, every neuron in the previous layer is connected to
each and every neuron in the next layer.

A

Fully connected

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Generative Adversarial Networks (GANs) jointly train generator and ____________ with a minimax game.

A

c. Discriminator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Match each of the following models with its corresponding:

  • Assign labels to data
  • Feature Learning (with labels)
A

Discriminative Model: Learn a probability distribution p(y|x)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Match each of the following models with its corresponding:

  • Assign labels, while rejecting outliers
  • Generate new data conditioned on input labels
A

Conditional Generative Model: Learn p(x|y)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Match each of the following models with its corresponding:

  • Detect outliers
  • Feature learning (without labels)
  • Sample to generate new data
A

Generative Model: Learn a probability distribution p(x)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the problem described below?

Do well on training data, but poorly on validation data due to variance.

A

Overfitting

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the given definition below?

Label each pixel in the image with a category label. It only cares about pixels.

A

Semantic Segmentation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

We developed a segmentation algorithm, and we like to check how good our segmentation prediction is. How can we compare our segmentation prediction to the ground-truth?

A

Intersection over Union

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

When we visualize the first layer of a deep network, what will we see in the output of these layers?

A

Low level features such as edges and corners

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which visualization technique is used to understand the flow of gradients through different layers of a Convolutional Neural Network (CNN)?

A

Backpropagation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Which of the following techniques is used to highlight the most relevant regions in an inpt image for explaining the predictions of a Convolutional Neural Networks (CNNs)?

A

Grad-CAM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

List the SIFT Descriptors for feature detection in order:
1) Normalize rotations

A

1) Normalize the rotation / scale of the patch

2) Compute gradient at each pixel
3) Divide into sub-patches (here 2x2, actually 4x4)

4) In each sub-patch, compute histogram of 8 gradient directions

5) Describe the patch with 448 = 128 numbers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What Components of a Convolutional Network is this?

A

Full Connected Layer

19
Q

What Components of a Convolutional Network is this?

A

Activation Function

20
Q

What Components of a Convolutional Network is this?

A

Convolutional Layers

21
Q

What Components of a Convolutional Network is this?

A

Pooling Layer

22
Q

What Components of a Convolutional Network is this?

A

Normalization

23
Q

List the steps for Training a Convolutional Network and what does each step do?

A

1) Download big datasets: acquire and download large dataset

2) Design CNN architecture: Make a CNN from scratch or modify existing CNN’s like Alexnet, Vgg, or googlenet

3) Initialize Weights: set weights to desired initial values

4) For t = 1 to T:
1. Form minibatch: form a small
batches of data from the training
set used to trained the model.

        2. compute loss + gradient: The 
        model's prediction
        3. Update Weights
24
Q

What Is Morphology?

A

Morphological image processing (or
morphology) describes a range of image
processing techniques that deal with the shape
(or morphology) of features in an image

25
Q

Morphological operations

A

typically applied
to remove imperfections introduced during
segmentation, and so typically operate on bi-
level images
17

26
Q

two basic morphological

A

erosion and dilation

27
Q

More interesting morphological operations can
be performing combinations of
erosions and dilations
The most widely used of these compound
operations are:

A

– Opening
– Closing

28
Q
A
  • Roberts filter
  • Prewitt filter
  • Sobel filter
29
Q

In backward propagation what happens in the backward pass?

A

During the backward pass, each node in the graph receives upstream gradients and multiplies them by local gradients to compute downstream gradients

30
Q

used for Circle Detection

A

Hough transforms

31
Q

region:
no change in
all directions

A

“flat

32
Q

no change along
the edge
direction

A

edge

33
Q

significant
change in all
directions

A

corner

34
Q

SIFT Descriptors

A
  1. Normalize the rotation / scale of the patch
  2. Compute gradient at each pixel
  3. Divide into sub-patches (here 2x2, actually 4x4)
  4. In each sub-patch, compute histogram of 8
    gradient directions
  5. Describe the patch with 448 = 128 numbers
35
Q

What happens in backpropagation during backward pass?

A

During the backward pass, each node in the graph receives upstream gradients and multiplies them by local gradients to compute downstream gradients

36
Q

Fill in the blanks

A
37
Q

What are the different machine vision tasks?

A
  • Classification - no spatial extent
  • semantic segmentation - no objects, just pixels
  • object detection - multiple objects
  • Instance segmentation - multiple objects; detects all images and identify pixels that belongs to obj.
38
Q

Describe classic vs convolutional networks and some differences:

A

Classic: Pipeline is made of hand engineered steps

Deep: Pipeline of learned convolutions + operations

Differences: In classic steps do not talk to one another or have parameters that are learned from data.

39
Q

Common image formats include:

A

*B&W: 1 sample per point
*Grayscale: 1 sample per point
*Color: 3 samples per point (Red, Green, and Blue)

40
Q

What is sampling?

A

is the principal factor determining the spatial
resolution of an image.

41
Q

What is Gray-level resolution?

A

similarly refers to the smallest
discernible change in gray level.

42
Q

What is Quantisation?

A

is the process of converting a continuous analogue signal into a digital representation of this signal

43
Q

What are the color models?

A

RGB: Red, Green, Blue
* Color monitor, color Video
cameras

HIS (Hue Saturation Intensity)
* Color image manipulation

CMY model
* Color Printers

44
Q

What are the color systems:

A

Additive:
* Involves light emitted
directly from a source

Subtractive Color system:
Subtractive color starts with
an object that reflects light
and uses colorants to subtract
portions of the white light
illuminating an object to
produce other colors.