Computer Vision 2 Flashcards

1
Q

What is imagenette?

A

Subset of ImageNet dataset created by fast.ai for faster prototyping, contains 10 classes that are easily distinguishable for humans

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

How pooling works?

A

Instead of applying a kernel with learnable weights the average or maximum of the values at the kernel position is taken

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

2 types of pooling

A

Either specify the kernel size (classical pooling) or the desired output size (adaptive pooling)

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

What is ResNet block?

A

key building block used in ResNet (Residual Network), a deep neural network architecture that was introduced to solve the problem of vanishing gradients and to enable the training of very deep networks

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

What pooling does to feature map?

A

reducing it

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

Key features of ResNet block?

A

Skip connections, predicts the difference (residual) between the optimal mapping and the input

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

What does ResNet to loss landscape?

A

Smoothing it: reduces the likelihood of sharp peaks and valleys, allows model to directly propagade the input forward and the gradient backwards, reducing the number of nonlinear transformations

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

What is stem of the network?

A

Higher layers have more parameters (more channels) but lower layers perform more computations (greater height and width of the feature map)

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

What bottleneck layers do?

A

reducing the number of channels, then, applying the
computationally more expensive convolution, and finally, increasing the number of channels to the
original size again

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

What is momentum?

A

optimization technique used to improve gradient descent by adding a fraction of the previous update to the current one

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

Why use momentum?

A

helps to accelerate the convergence process and smooth out updates, leading to more efficient and stable training

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

What is is RMSProp?

A

optimizer that adapts the learning rate per weight

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

What is Adam?

A

Combines ideas of Momentum and RSMProp in an algorithm called adaptive moment estimation

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

If the number of input channels does not equal the desired number of output channels a true identity path is never possible

A

True

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

A convolution with a kernel size of 1 x 1 would not make sense in the stem of a state of the are ResNet, as these convolutions do not reduce the size of the feature map.

A

True

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

Bottleneck layers do not necessarily have fewer kernels than plain ResNet layers

A

True

17
Q

The reduction in number of operations from a 9 x 9 kernel to a 3 x 3 kernel is proportionally the same as from a 3 x 3 kernel to a 1 x 1 kernel if one disregards the bias related computations

A

True

18
Q

When preprocessing the dataset, the image size for batch_tfms must be less than or equal to the image size for item_tfms.

A

True