From 98103552fb5db06c668df033166e54a9189979fc Mon Sep 17 00:00:00 2001 From: AlexeyAB Date: Thu, 7 Feb 2019 18:19:34 +0300 Subject: [PATCH] Minor fix --- src/classifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classifier.c b/src/classifier.c index 99fadabd..11b6968d 100644 --- a/src/classifier.c +++ b/src/classifier.c @@ -1245,7 +1245,6 @@ void run_classifier(int argc, char **argv) } int mjpeg_port = find_int_arg(argc, argv, "-mjpeg_port", -1); - int calc_topk = find_int_arg(argc, argv, "-topk", -1); char *gpu_list = find_char_arg(argc, argv, "-gpus", 0); int *gpus = 0; int gpu = 0; @@ -1270,6 +1269,7 @@ void run_classifier(int argc, char **argv) } int dont_show = find_arg(argc, argv, "-dont_show"); + int calc_topk = find_arg(argc, argv, "-topk"); int cam_index = find_int_arg(argc, argv, "-c", 0); int top = find_int_arg(argc, argv, "-t", 0); int clear = find_arg(argc, argv, "-clear");