From e29fcb703f8d936e17507bf78043a8b8bc6279b0 Mon Sep 17 00:00:00 2001 From: AlexeyAB <alexeyab84@gmail.com> Date: Wed, 16 May 2018 12:23:34 +0000 Subject: [PATCH] Fixed time for ./darknet detector valid --- src/detector.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/detector.c b/src/detector.c index de4bc90..bed7467 100644 --- a/src/detector.c +++ b/src/detector.c @@ -425,7 +425,7 @@ 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) -- Gitblit v1.10.0