From 7ee45082f103dac7037ddf4a2c7d598b73d47016 Mon Sep 17 00:00:00 2001 From: Joseph Redmon Date: Mon, 9 Feb 2015 13:24:32 -0800 Subject: [PATCH] doing some testing w/o rand --- src/darknet.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/darknet.c b/src/darknet.c index ab4c7ada..8bb5a74b 100644 --- a/src/darknet.c +++ b/src/darknet.c @@ -225,7 +225,8 @@ char *basename(char *cfgfile) void train_imagenet(char *cfgfile, char *weightfile) { float avg_loss = -1; - srand(time(0)); + // TODO + srand(0); char *base = basename(cfgfile); printf("%s\n", base); network net = parse_network_cfg(cfgfile);