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) --- src/box.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/box.h b/src/box.h index 31dd22c..0aa0c59 100644 --- a/src/box.h +++ b/src/box.h @@ -1,6 +1,11 @@ #ifndef BOX_H #define BOX_H +#ifdef _DEBUG +#include <stdlib.h> +#include <crtdbg.h> +#endif + #ifdef YOLODLL_EXPORTS #if defined(_MSC_VER) #define YOLODLL_API __declspec(dllexport) -- Gitblit v1.10.0