O'Reilly logo

Java Deep Learning Projects by Md. Rezaul Karim

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required