From 2a1025b6f0cb2bf54f771d9c56851ed66336e1a0 Mon Sep 17 00:00:00 2001 From: Joseph Redmon Date: Tue, 22 Sep 2015 16:40:51 -0700 Subject: [PATCH] save things sometimes --- src/writing.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/writing.c b/src/writing.c index ccfc8445..7c23db12 100644 --- a/src/writing.c +++ b/src/writing.c @@ -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); } } }