Fixed time for ./darknet detector valid

This commit is contained in:
AlexeyAB 2018-05-16 15:23:34 +03:00
parent 8587c0a161
commit e29fcb703f
1 changed files with 1 additions and 1 deletions

View File

@ -425,7 +425,7 @@ void validate_detector(char *datacfg, char *cfgfile, char *weightfile, char *out
fprintf(fp, "\n]\n");
fclose(fp);
}
fprintf(stderr, "Total Detection Time: %f Seconds\n", time(0) - start);
fprintf(stderr, "Total Detection Time: %f Seconds\n", (double)time(0) - start);
}
void validate_detector_recall(char *datacfg, char *cfgfile, char *weightfile)