doing some testing w/o rand

This commit is contained in:
Joseph Redmon 2015-02-09 13:24:32 -08:00
parent 2f62fe33c9
commit 7ee45082f1

View File

@ -225,7 +225,8 @@ char *basename(char *cfgfile)
void train_imagenet(char *cfgfile, char *weightfile) void train_imagenet(char *cfgfile, char *weightfile)
{ {
float avg_loss = -1; float avg_loss = -1;
srand(time(0)); // TODO
srand(0);
char *base = basename(cfgfile); char *base = basename(cfgfile);
printf("%s\n", base); printf("%s\n", base);
network net = parse_network_cfg(cfgfile); network net = parse_network_cfg(cfgfile);