From be9ccb7d7f4135a41910e6401fbe0c604f1a4080 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Thu, 01 Mar 2018 21:09:52 +0000
Subject: [PATCH] Added F1 score to accuracy statistic

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

diff --git a/src/layer.h b/src/layer.h
index 341e58a..93aca6c 100644
--- a/src/layer.h
+++ b/src/layer.h
@@ -63,10 +63,12 @@
     int out_h, out_w, out_c;
     int n;
     int max_boxes;
+	int small_object;
     int groups;
     int size;
     int side;
     int stride;
+    int reverse;
     int pad;
     int sqrt;
     int flip;
@@ -94,7 +96,18 @@
     int reorg;
     int log;
 
+    int adam;
+    float B1;
+    float B2;
+    float eps;
+    float *m_gpu;
+    float *v_gpu;
+    int t;
+    float *m;
+    float *v;
+
     tree *softmax_tree;
+    int  *map;
 
     float alpha;
     float beta;
@@ -104,8 +117,14 @@
     float object_scale;
     float noobject_scale;
     float class_scale;
+    int bias_match;
     int random;
+    float thresh;
+    int classfix;
+    int absolute;
 
+    int onlyforward;
+    int stopbackward;
     int dontload;
     int dontloadscales;
 
@@ -223,6 +242,9 @@
     float * weights_gpu;
     float * weight_updates_gpu;
 
+	float * weights_gpu16;
+	float * weight_updates_gpu16;
+
     float * biases_gpu;
     float * bias_updates_gpu;
 

--
Gitblit v1.10.0