From cdd1cb0e8c4fda3671714bb5ad6ba1825cff16d1 Mon Sep 17 00:00:00 2001 From: Puneet Kohli <punkohl@gmail.com> Date: Sun, 06 May 2018 21:45:26 +0000 Subject: [PATCH] Change matplotlib backend to 'agg' when 'show_plot' is false. This allows the script to be run from command line without any errors (for ex, on a remote machine) --- 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