Final 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

Name a voting scheme

A

Hough transform

30
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

31
Q

used for Circle Detection

A

Hough transforms

32
Q

region:
no change in
all directions

A

“flat

33
Q

no change along
the edge
direction

A

edge

34
Q

significant
change in all
directions

A

corner

35
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
36
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

37
Q

Fill in the blanks

A
38
Q

What are the different machine vision tasks?

A
  • Classification - no spatial extent
  • semantic segmentation - no objects, just pixels
  • object detection:
39
Q

What is a Discriminative Model

A

Assign labels to data, Feature Learning with labels

40
Q

What is a Generative Model

A

Detect outliers, Feature Learning without labels

41
Q

What is a Conditional Generative Model

A

Assign labels, while rejecting outliers

42
Q

What is GANs?

A

Generative Adversarial Networks

43
Q

What does GANs do?

A

Jointly train generator and discriminator with minimax game

44
Q
A