2023-12-22 16:39:03 +00:00
|
|
|
---
|
|
|
|
tags:
|
|
|
|
- ai
|
|
|
|
---
|
2023-05-27 22:17:56 +01:00
|
|
|
- Residual networks
|
|
|
|
- 152 layers
|
|
|
|
- Skips every two layers
|
|
|
|
- Residual block
|
|
|
|
- Later layers learning the identity function
|
|
|
|
- Skips help
|
|
|
|
- Deep network should be at least as good as shallower one by allowing some layers to do very little
|
|
|
|
- Vanishing gradient
|
|
|
|
- Allows shortcut paths for gradients
|
|
|
|
- Accuracy saturation
|
|
|
|
- Adding more layers to suitably deep network increases training error
|
|
|
|
|
|
|
|
# Design
|
|
|
|
|
2023-06-06 11:48:49 +01:00
|
|
|
- Skips across pairs of [conv layers](../Convolutional%20Layer.md)
|
2023-05-27 22:17:56 +01:00
|
|
|
- Elementwise addition
|
|
|
|
- All layer 3x3 kernel
|
|
|
|
- Spatial size halves each layer
|
|
|
|
- Filters doubles each layer
|
2023-06-06 11:48:49 +01:00
|
|
|
- [Fully convolutional](FCN.md)
|
2023-05-27 22:17:56 +01:00
|
|
|
- No fc layer
|
2023-06-06 11:48:49 +01:00
|
|
|
- No [pooling](../Max%20Pooling.md)
|
2023-05-27 22:17:56 +01:00
|
|
|
- Except at end
|
|
|
|
- No dropout
|
|
|
|
|
2023-06-06 11:48:49 +01:00
|
|
|
[ImageNet](../../CV/Datasets.md#ImageNet) Error:
|
2023-06-05 17:01:29 +01:00
|
|
|
![imagenet-error](../../../../img/imagenet-error.png)
|
2023-05-27 23:02:51 +01:00
|
|
|
|
2023-06-05 17:01:29 +01:00
|
|
|
![resnet-arch](../../../../img/resnet-arch.png)
|
|
|
|
![resnet-arch2](../../../../img/resnet-arch2.png)
|