Chapter 5. Transfer learning: Reusing pretrained neural networks

This chapter covers

  • What transfer learning is and why it is better than training models from scratch for many types of problems
  • How to leverage the feature-extraction power of state-of-the-art pretrained convnets by converting them from Keras to TensorFlow.js
  • The detailed mechanisms of transfer-learning techniques including layer freezing, creating new transfer heads, and fine-tuning
  • How to use transfer learning to train a simple object-detection model in TensorFlow.js

In chapter 4, we saw how to train convnets to classify images. Now consider the following scenario. Our convnet for classifying handwritten digits performs poorly for a user because their handwriting is very different ...

Get Deep Learning with JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.