mirror of https://github.com/davisking/dlib.git
Added comment to show how to deserialize a network.
This commit is contained in:
parent
ba0f7c5c53
commit
ee2a0070db
|
@ -117,6 +117,8 @@ int main(int argc, char** argv) try
|
|||
// "cleaning" the network before saving it.
|
||||
net.clean();
|
||||
serialize("mnist_network.dat") << net;
|
||||
// Now if we later wanted to recall the network from disk we can simply say:
|
||||
// deserialize("mnist_network.dat") >> net;
|
||||
|
||||
|
||||
// Now let's run the training images through the network. This statement runs all the
|
||||
|
|
Loading…
Reference in New Issue