Commit 87efe172 authored by Davis King's avatar Davis King

Added a call to set_all_bn_running_stats_window_sizes() to set this value to

what it was when this example was trained (since I just modified the default
value in dlib to something else).
parent 38ca3c32
......@@ -228,6 +228,9 @@ int main(int argc, char** argv) try
// This threshold is probably excessively large. You could likely get good results
// with a smaller value but if you aren't in a hurry this value will surely work well.
trainer.set_iterations_without_progress_threshold(20000);
// Since the progress threshold is so large might as well set the batch normalization
// stats window to something big too.
set_all_bn_running_stats_window_sizes(net, 1000);
std::vector<matrix<rgb_pixel>> samples;
std::vector<unsigned long> labels;
......
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