Skip to content
Snippets Groups Projects
Commit 2a1025b6 authored by Joseph Redmon's avatar Joseph Redmon
Browse files

save things sometimes

parent 522e2a22
No related branches found
No related tags found
No related merge requests found
......@@ -74,9 +74,7 @@ void train_writing(char *cfgfile, char *weightfile)
epoch = *net.seen/N;
char buff[256];
sprintf(buff, "%s/%s_%d.weights",backup_directory,base, epoch);
//TODO
if(get_current_batch(net)%10 == 0)
save_weights(net, buff);
save_weights(net, buff);
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment