Commit 0f2753b7 authored by Davis King's avatar Davis King

Changed how we print the network hash.

parent 7b26b2d1
......@@ -1281,7 +1281,9 @@ namespace dlib
temp.clean();
serialize(temp, sout);
out << " net size: " << sout.str().size()/1024.0/1024.0 << "MB" << endl;
out << " net architecture hash: " << md5(cast_to_string(trainer.get_net())) << endl;
// Don't include the loss params in the hash since we print them on the next line.
// They also aren't really part of the "architecture" of the network.
out << " net architecture hash: " << md5(cast_to_string(trainer.get_net().subnet())) << endl;
out << " loss: " << trainer.get_net().loss_details() << endl;
out << " synchronization file: " << trainer.get_synchronization_file() << endl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment