How to do it...

  1. Define frozen layers by calling setFeatureExtractor():
MultiLayerNetwork newModel = new TransferLearning.Builder(oldModel)
.setFeatureExtractor(featurizeExtractionLayer)
.build();
  1. Call fit() to start the training instance:
newModel.fit(numOfEpochs);
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset