January 2025
Intermediate to advanced
518 pages
14h 51m
English
In this chapter, we’ll discuss how to save and load model parameters during and after training. This is important because model training can take days or even weeks. Saving intermediate results allows us to load them later for evaluation or production use.
Such regular save operations can be beneficial in the case of a random application crash. Another substantial feature of any machine learning (ML) framework is its ability to export the model architecture, which allows us to share models between frameworks and makes model deployment easier. The main topic of this chapter is to show how to export and import model parameters such as weights and bias values with different C++ libraries. The second part of this ...
Read now
Unlock full access