Coursera Deep Learning Course4 Week2

Source: Internet
Author: User
Tags coursera deep learning

Resnets

The identity block

The convolutional block (you can use this type of block when the input and output dimensions don ' t match up. The conv2d layer in the shortcut path was used to resize the input xx to a different dimension, so that the dimensions MATC H up in the final addition needed to add the value of the shortcut to the main path. (this plays a similar role as the Matrix Wsws discussed in lecture.) For example, to reduce the activation dimensions's height and width by a factor of 2, you can use a 1x1 convolution with a Stride of 2. The conv2d layer on the shortcut path does is not a use of any non-linear activation function. Its main role is-just apply a (learned) linear function that reduces the dimension of the input, so the the dimensions Match up for the later addition step. )

1x1 conv&inception Network Motivation
Stack cores of all sizes and volume that have been processed by the pooling layer are stacked together.

Use 1x1 conv to reduce computational capacity

Transfer Learning
It's about the same as before. If the data is small, you can replace the last layer only. The amount of data can be used to train the previous. The frame has settings that freeze the parameters of the front layer.

Data Augmentation
1). Mirroring
2). Random cropping
3). Rotation
4). Shearing
5). Local warping
6). Color Shifting
7). PCA

Data vs. hand-engineering
Two sources of knowledge can improve the effect of the model from both aspects, the more data less areas need manual design, such as features, structures, algorithms and so on.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.