From d75854c0fddb7f1931a7afbc8c399dc3eb4e28c3 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Thu, 12 Apr 2018 16:31:36 +0000
Subject: [PATCH] Minor fix
---
src/network.h | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/src/network.h b/src/network.h
index bb65eac..965693a 100644
--- a/src/network.h
+++ b/src/network.h
@@ -2,6 +2,7 @@
#ifndef NETWORK_H
#define NETWORK_H
+#include <stdint.h>
#include "layer.h"
#ifdef __cplusplus
@@ -20,7 +21,7 @@
float *workspace;
int n;
int batch;
- int *seen;
+ int *seen;
float epoch;
int subdivisions;
float momentum;
@@ -56,6 +57,7 @@
float exposure;
float saturation;
float hue;
+ int small_object;
int gpu_index;
tree *hierarchy;
@@ -63,6 +65,11 @@
#ifdef GPU
float **input_gpu;
float **truth_gpu;
+ float **input16_gpu;
+ float **output16_gpu;
+ size_t *max_input16_size;
+ size_t *max_output16_size;
+ int wait_stream;
#endif
} network;
@@ -126,9 +133,12 @@
void set_batch_network(network *net, int b);
int get_network_input_size(network net);
float get_network_cost(network net);
+detection *get_network_boxes(network *net, int w, int h, float thresh, float hier, int *map, int relative, int *num, int letter);
+void free_detections(detection *dets, int n);
int get_network_nuisance(network net);
int get_network_background(network net);
+void fuse_conv_batchnorm(network net);
#ifdef __cplusplus
}
--
Gitblit v1.10.0