From 84d6533cb8112f23a34d3de76435a10f4620f4b8 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Mon, 23 Oct 2017 13:43:03 +0000
Subject: [PATCH] Fixed OpenCV usage in the yolo_console_dll.cpp
---
src/network.h | 21 +++++++++++++++++++--
1 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/src/network.h b/src/network.h
index 4f9ba75..693105c 100644
--- a/src/network.h
+++ b/src/network.h
@@ -2,9 +2,16 @@
#ifndef NETWORK_H
#define NETWORK_H
-#include "image.h"
+#include <stdint.h>
#include "layer.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include "image.h"
#include "data.h"
+#include "tree.h"
typedef enum {
CONSTANT, STEP, EXP, POLY, STEPS, SIG, RANDOM
@@ -14,7 +21,7 @@
float *workspace;
int n;
int batch;
- int *seen;
+ uint64_t *seen;
float epoch;
int subdivisions;
float momentum;
@@ -36,6 +43,11 @@
int num_steps;
int burn_in;
+ int adam;
+ float B1;
+ float B2;
+ float eps;
+
int inputs;
int h, w, c;
int max_crop;
@@ -47,6 +59,7 @@
float hue;
int gpu_index;
+ tree *hierarchy;
#ifdef GPU
float **input_gpu;
@@ -118,5 +131,9 @@
int get_network_nuisance(network net);
int get_network_background(network net);
+#ifdef __cplusplus
+}
+#endif
+
#endif
--
Gitblit v1.10.0