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/classifier_resnet50.cmd | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/build/darknet/x64/classifier_resnet50.cmd b/build/darknet/x64/classifier_resnet50.cmd index 1efc736..7b85ac1 100644 --- a/build/darknet/x64/classifier_resnet50.cmd +++ b/build/darknet/x64/classifier_resnet50.cmd @@ -1,6 +1,8 @@ darknet.exe classifier predict cfg/imagenet1k.data cfg/resnet50.cfg resnet50.weights +rem darknet.exe classifier predict cfg/imagenet1k.data cfg/resnet152.cfg resnet152.weights + pause -REM Download weights for DenseNet201 and ResNet50 by this link: https://pjreddie.com/darknet/imagenet/ \ No newline at end of file +REM Download weights for DenseNet201, ResNet50 and ResNet152 by this link: https://pjreddie.com/darknet/imagenet/ \ No newline at end of file -- Gitblit v1.10.0