DL4J and transfer learning

Now, let's take a look how the DL4J provides us with these functionalities through the transfer learning API it has. The DL4J transfer learning API enables users to (see more at https://deeplearning4j.org/transfer-learning):

  • Modify the architecture of an existing model
  • Fine-tune learning configurations of an existing model
  • Hold parameters of a specified layer (also called a frozen layer) constant during training

These functionalities are depicted in the following diagram, where we solve task B (similar to task A) using the transfer learning technique:

Working principle of transfer learning

In the next section, ...

Get Java Deep Learning Projects 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.