吳恩達 Convolutional Neural Networks第二週quizzes
1.Which of the following do you typically see as you move to deeper layers in a ConvNet?
nH and nW decreases, while nC also decreases
nH and nW increases, while nC decreases
nH and nW decrease, while nC increases
nH and nW increases, while nC also increases
隨著網路的加深,通道數越來越多,feature map size 變小
2.Which of the following do you typically see in a ConvNet? (Check all that apply.)
Multiple CONV layers followed by a POOL layer
Multiple POOL layers followed by a CONV layer
FC layers in the last few layers
FC layers in the first few layers
3.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.
True
False
這題為false,第一次做錯了,這裡錯在的是valid padding ,一般用的是same padding(1.the most commonly used padding mode in CNN is "same" padding,one of the advantage over the other padding modes is that same padding preserves the height and width of the input images or tensors,which make designing a network architecture more convenient.2.one of the disadvantage of the valid padding versus same padding ,for example,is that the volume of the tensors would decrease substantially in neural networks with many layers,which can be dangerous to the network performance.3.in practice,it is recommended that you preserve the spatial size using same padding for the convolutional layers and decrease the spatial size via pooling layers instead.)
4.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.
True
False
這題也是false,自己做錯的原因是題目看錯了,人家的本意是即使是plain 的network 隨著網路的加深 trian error也降低,這明顯就是錯的。
5.
Which ones of the following statements on Residual Networks are true? (Check all that apply.)
The skip-connection makes it easy for the network to learn an identity mapping between the input and the output within the ResNet block.
Using a skip-connection helps the gradient to backpropagate and thus helps you to train deeper networks
A ResNet with L layers would have on the order of L2 skip connections in total. 不是L的平方,應該是L除以2.
The skip-connections compute a complex non-linear function of the input to pass to a deeper layer in the network.Suppose you have an input volume of dimension 64x64x16. How many parameters would a single 1x1 convolutional filter have (including the bias)?
2
17
4097
1
1x1x16 +bias 1 = 17
8.Suppose you have an input volume of dimension nH x nW x nC. Which of the following statements you agree with? (Assume that “1x1 convolutional layer” below always uses a stride of 1 and no padding.)
You can use a 1x1 convolutional layer to reduce nH, nW, and nC.
You can use a pooling layer to reduce nH, nW, but not nC.
You can use a 1x1 convolutional layer to reduce nC but not nH, nW.
You can use a pooling layer to reduce nH, nW, and nC.
9.Which ones of the following statements on Inception Networks are true? (Check all that apply.)
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.
Making an inception network deeper (by stacking more inception blocks together) should not hurt training set performance.錯在自己對should not 的理解上,這裡不是不應該,就是not 的意思。只有resnet 可以說隨著網路的加深,train error 一直下降 其他都是先降後升
Inception networks incorporates a variety of network architectures (similar to dropout, which randomly chooses a network architecture on each step) and thus has a similar regularizing effect as dropout.
自己之前選了前三個,是錯的 所以選1 2 試一下 確實是1 2
- Which of the following are common reasons for using open-source implementations of ConvNets (both the model and/or weights)? Check all that apply.
It is a convenient way to get working an implementation of a complex ConvNet architecture.
A model trained for one computer vision task can usually be used to perform data augmentation even for a different computer vision task.
The same techniques for winning computer vision competitions, such as using multiple crops at test time, are widely used in practical deployments (or production system deployments) of ConvNets.在paper之類的會用,在實際應用場景中用的少,畢竟加大了很多計算量然後執行時間也變多了,就是帶來的效能提升比其計算代價小,所以工程上不用。
Parameters trained for one computer vision task are often useful as pretraining for other computer vision tasks.
選了 1 3 4 是錯的 這次選 3 4 還是錯的 其實是1 4 3為什麼是錯的,估計是因為這樣太耗費資源了。
錯誤 :3.4.9.10
有疑問的時候去論壇搜尋,比直接Google更容易找到答案,要是沒有人問過,自己問,畢竟有助教。感覺論壇大法好。可以很好的解答自己的疑惑。
相關文章
- Convolutional Neural Networks(CNN)CNN
- CNN (Convolutional Neural Networks) AbstractCNN
- 吳恩達機器學習-第二課-第二週吳恩達機器學習
- 卷積神經網路:Convolutional Neural Networks(CNN)卷積神經網路CNN
- Automatic Brain Tumor Segmentation using Cascaded Anisotropic Convolutional Neural NetworksAISegmentation
- 機器學習實戰(十三):Convolutional Neural Networks機器學習
- 【論文翻譯】MobileNets: Efficient Convolutional Neural Networks for Mobile Vision ApplicationsAPP
- 吳恩達神經網路-第一週吳恩達神經網路
- 吳恩達機器學習第二課 Advanced Learning Algorithms吳恩達機器學習Go
- 深度學習之卷積神經網路(Convolutional Neural Networks, CNN)(二)深度學習卷積神經網路CNN
- 論文閱讀—第一篇《ImageNet Classification with Deep Convolutional Neural Networks》
- 論文解讀二代GCN《Convolutional Neural Networks on Graphs with Fast Localized Spectral Filtering》GCASTZedFilter
- 論文筆記:Diffusion-Convolutional Neural Networks (傳播-卷積神經網路)筆記卷積神經網路
- 深度學習論文翻譯解析(十七):MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications深度學習APP
- 2024吳恩達機器學習吳恩達機器學習
- 吳恩達大模型教程筆記-一-吳恩達大模型筆記
- 吳恩達大模型教程筆記-十一-吳恩達大模型筆記
- 吳恩達大模型教程筆記-十-吳恩達大模型筆記
- 吳恩達大模型教程筆記-三-吳恩達大模型筆記
- 吳恩達大模型教程筆記-七-吳恩達大模型筆記
- 吳恩達大模型教程筆記-六-吳恩達大模型筆記
- 吳恩達大模型教程筆記-二-吳恩達大模型筆記
- Lecture_Neural Networks Part 1
- Higher-order Graph Neural Networks
- 神經網路(neural networks)神經網路
- 論文閱讀——Deformable Convolutional NetworksORM
- 吳恩達機器學習筆記(3)吳恩達機器學習筆記
- Coursera 吳恩達《Machine Learning》視訊 + 作業吳恩達Mac
- 吳恩達深度學習:三維卷積吳恩達深度學習卷積
- 吳恩達機器學習提交問題吳恩達機器學習
- pytorch實現 | Deformable Convolutional Networks | CVPR | 2017PyTorchORM
- COMP9444 Neural Networks and Deep Learning
- Neural Dynamics on Complex Networks-KDD20
- 論文解讀《Neural Cleanse: Identifying and Mitigating Backdoor Attacks in Neural Networks》IDEMIT
- DEEP LEARNING WITH PYTORCH: A 60 MINUTE BLITZ | NEURAL NETWORKSPyTorch
- 吳恩達機器學習系列14:偏差與方差吳恩達機器學習
- 吳恩達機器學習系列17:支援向量機吳恩達機器學習
- 吳恩達機器學習筆記 —— 15 降維吳恩達機器學習筆記