C4W2 Quiz - Deep-convolutional-models

image.png
Ans: D
image.png
Ans: A、C
image.png
Ans: False
image.png
Ans: C
image.png
Ans: C、D
image.png
Ans: B

image.png
Ans: C、D

  1. Which of the following do you typically see as you move to deeper layers in a ConvNet?

Ans: nH and nW decrease, while nC increases

  1. Which of the following do you typically see in a ConvNet? (Check all that apply.)

Ans:

Multiple CONV layers followed by a POOL layer
FC layers in the last few layers

  1. In order to be able to build very deep networks, we usually only use pooling layers to downsize the height/width of the activation volumes while convolutions are used with “valid” padding. Otherwise, we would downsize the input of the model too quickly.

Ans: False

  1. Training a deeper network (for example, adding additional layers to the network) allows the network to fit more complex functions and thus almost always results in lower training error. For this question, assume we’re referring to “plain” networks.

Ans: False

  1. The following equation captures the computation in a ResNet block. What goes into the two blanks above?
    a[l+2]=g(W[l+2]g(W[l+1]a[l]+b[l+1])+b[l+2]+_______ )+_______

Ans: a[l] and 0, respectively

  1. Which ones of the following statements on Residual Networks are true? (Check all that apply.)

Ans:

Using a skip-connection helps the gradient to backpropagate and thus helps you to train deeper networks

The skip-connection makes it easy for the network to learn an identity mapping between the input and the output within the ResNet block.

  1. Suppose you have an input volume of dimension 64x64x16. How many parameters would a single 1x1 convolutional filter have (including the bias)?

Ans: 17

  1. Suppose you have an input volume of dimension nH x nW x nC. Which of the following statements do you agree with? (Assume that “1x1 convolutional layer” below always uses a stride of 1 and no padding.)

Ans:

You can use a 1x1 convolutional layer to reduce nC but not nH, nW.
You can use a pooling layer to reduce nH, nW, but not nC.

  1. Which ones of the following statements on Inception Networks are true? (Check all that apply.)

Ans:

Inception blocks usually use 1x1 convolutions to reduce the input data volume’s size before applying 3x3 and 5x5 convolutions.

A single inception block allows the network to use a combination of 1x1, 3x3, 5x5 convolutions and pooling.

  1. Which of the following are common reasons for using open-source implementations of ConvNets (both the model and/or weights)? Check all that apply.

Ans:

Parameters trained for one computer vision task are often useful as pretraining for other computer vision tasks.
It is a convenient way to get working an implementation of a complex ConvNet architecture.