From 3ebcc647b651a4a3c717eff2a3087127e5707e0c Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Mon, 14 May 2018 09:20:38 +0000
Subject: [PATCH] Fixed network resizing (random=1) for non-square networks

---
 src/box.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/box.h b/src/box.h
index 6063a48..9553b12 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