吴恩达深度学习学习笔记——C4W4——特殊应用:人脸识别和神经风格转换——练习题

C4W4 Quiz - Face Recognition & Neural Style Transfer

20230625 updated:

 

 

Ans: True

Ans: B、C

Ans: False

Ans: C

True

False

Ans: True

Ans: True

Ans: False

Note: Neural style transfer is part of convolution neural network but not machine learning. The way we define supervised and unsupervised learning is seems to be part of machine learning but it is not, supervised learning is just weather we are focusing on a desired output and whereas in case of unsupervised learning we don't really focus on any predefined output.

So similarly in case of neural transfer learning we are not focusing on any predefined output rather than we are just getting modified version of two image. So this not case of supervised learning.

Ans: True

Ans: D

Ans: B

1. Face verification requires comparing a new picture against one person’s face, whereas face recognition requires comparing a new picture against K person’s faces.

Ans: True

2. Why do we learn a function d(img1,img2) for face verification? (Select all that apply.)

# Ans:

- We need to solve a one-shot learning problem.

- This allows us to learn to recognize a new person given just a single image of that person.

3. In order to train the parameters of a face recognition system, it would be reasonable to use a training set comprising 100,000 pictures of 100,000 different persons.

Ans: False

4. Which of the following is a correct definition of the triplet loss? Consider that ```a>0```. (We encourage you to figure out the answer from first principles, rather than just refer to the lecture.)

Ans: max(||f(A)-f(P)||^2-||f(A)-f(N)||^2+a,0)

5. Consider the following Siamese network architecture:

The upper and lower neural networks have different input images, but have exactly the same parameters.

Ans: True

6. You train a ConvNet on a dataset with 100 different classes. You wonder if you can find a hidden unit which responds strongly to pictures of cats. (I.e., a neuron so that, of all the input/training images that strongly activate that neuron, the majority are cat pictures.) You are more likely to find this unit in layer 4 of the network than in layer 1.

Ans: True

7. Neural style transfer is trained as a supervised learning task in which the goal is to input two images (x), and train a network to output a new, synthesized image (y).

Ans: False

8. In the deeper layers of a ConvNet, each channel corresponds to a different feature detector. The style matrix G^{[l]} measures the degree to which the activations of different feature detectors in layer l vary (or correlate) together with each other.

Ans: True

9. In neural style transfer, what is updated in each iteration of the optimization algorithm?

Ans: The pixel values of the generated image G

10. You are working with 3D data. You are building a network layer whose input volume has size 32x32x32x16 (this volume has 16 channels), and applies convolutions with 32 filters of dimension 3x3x3 (no padding, stride 1). What is the resulting output volume?

Ans: 30x30x30x32

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值