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 | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/src/layer.h b/src/layer.h
index 82bb97a..1eb7351 100644
--- a/src/layer.h
+++ b/src/layer.h
@@ -14,7 +14,9 @@
CROP,
ROUTE,
COST,
- NORMALIZATION
+ NORMALIZATION,
+ REGION,
+ AVGPOOL
} LAYER_TYPE;
typedef enum{
@@ -28,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;
@@ -48,6 +54,7 @@
int objectness;
int does_cost;
int joint;
+ int noadjust;
float alpha;
float beta;
@@ -57,6 +64,7 @@
float probability;
float scale;
+
int *indexes;
float *rand;
float *cost;
@@ -98,4 +106,6 @@
#endif
} layer;
+void free_layer(layer);
+
#endif
--
Gitblit v1.10.0