From fe44d3d0f29e96714de75234e1fd7e40b05b0296 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Sat, 03 Mar 2018 15:09:46 +0000
Subject: [PATCH] Fixed reorg_layer. Old reorg can be used as [reorg_old] in the cfg-file.
---
src/layer.h | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/src/layer.h b/src/layer.h
index ea6862b..9bf6057 100644
--- a/src/layer.h
+++ b/src/layer.h
@@ -3,6 +3,7 @@
#include "activations.h"
#include "stddef.h"
+#include "tree.h"
struct network_state;
@@ -33,6 +34,7 @@
XNOR,
REGION,
REORG,
+ REORG_OLD,
BLANK
} LAYER_TYPE;
@@ -62,10 +64,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;
@@ -93,6 +97,19 @@
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;
float kappa;
@@ -101,8 +118,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;
@@ -220,6 +243,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