From c53e03348c65462bcba33f6352087dd6b9268e8f Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Wed, 16 Sep 2015 21:12:10 +0000
Subject: [PATCH] yolo working w/ regions
---
src/layer.h | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/layer.h b/src/layer.h
index 4cd9f28..1eb7351 100644
--- a/src/layer.h
+++ b/src/layer.h
@@ -30,19 +30,23 @@
int batch;
int inputs;
int outputs;
+ int truths;
int h,w,c;
int out_h, out_w, out_c;
int n;
int groups;
int size;
+ int side;
int stride;
int pad;
int crop_width;
int crop_height;
+ int sqrt;
int flip;
float angle;
float saturation;
float exposure;
+ int softmax;
int classes;
int coords;
int background;
@@ -60,6 +64,7 @@
float probability;
float scale;
+
int *indexes;
float *rand;
float *cost;
@@ -101,4 +106,6 @@
#endif
} layer;
+void free_layer(layer);
+
#endif
--
Gitblit v1.10.0