Initialization

Discover how the ResNet model is structured for each of its configurations.

Chapter Goals:

  • Learn about the ResNet model structure
  • Understand the difference between channels-first and channels-last

A. Model overview

The ResNet model follows a repetitive structure built around its main building block. The overall model contains four layers of blocks, where the number of blocks per layer depends on how large we want our ResNet model to be. In our code, the block_layer_sizes dictionary gives the number of blocks for each of the four block layers, based on the total number of weight layers in the ResNet ...

Access this course and 1400+ top-rated courses and projects.