concept all the weight in category deep learning

appears as: ll the weights
Deep Learning for Vision Systems

This is an excerpt from Manning's book Deep Learning for Vision Systems.

  • Training: both networks learn the same way. 1) Perform a forward pass to get predictions, 2) compare the prediction with the true label to get the loss function (y - ŷ), 3) optimize parameters using gradient descent and backpropagate the error to all the weights and update their values to minimize the loss function.
  • Freeze all the weights in the convolutional layers (feature extraction part). Remember - the layers to freeze are adjusted depending on the similarity of new task to original dataset. In our case, we observed that ImageNet has a lot of dogs and cats images so the network has already been trained to extract the detailed features of our target object.