From 573d7e80814a4cc3c08897f6c0f67ea189339856 Mon Sep 17 00:00:00 2001 From: AlexeyAB <alexeyab84@gmail.com> Date: Wed, 16 May 2018 00:03:23 +0000 Subject: [PATCH] Added def array_to_image(arr): to the darknet.py Usage: import scipy.misc sci_image = scipy.misc.imread(image) im, arr = array_to_image(sci_image) --- build/darknet/x64/calc_anchors.cmd | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/darknet/x64/calc_anchors.cmd b/build/darknet/x64/calc_anchors.cmd index 1c7d2d8..45bb6ff 100644 --- a/build/darknet/x64/calc_anchors.cmd +++ b/build/darknet/x64/calc_anchors.cmd @@ -1,10 +1,10 @@ rem # How to calculate Yolo v2 anchors using K-means++ -darknet.exe detector calc_anchors data/voc.data -num_of_clusters 9 -width 416 -heigh 416 +darknet.exe detector calc_anchors data/voc.data -num_of_clusters 9 -width 416 -height 416 -rem darknet.exe detector calc_anchors data/voc.data -num_of_clusters 9 -width 416 -heigh 416 -show +rem darknet.exe detector calc_anchors data/voc.data -num_of_clusters 9 -width 416 -height 416 -show -- Gitblit v1.10.0