From a723e1c62a27aeb39aaf7fcdeb3beb4e89fba32d Mon Sep 17 00:00:00 2001
From: Alexey <AlexeyAB@users.noreply.github.com>
Date: Wed, 15 Aug 2018 20:52:09 +0000
Subject: [PATCH] Merge pull request #766 from HotChick91/AlexeyAB-mask
---
src/layer.h | 17 +++++++++++++++--
1 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/src/layer.h b/src/layer.h
index 3a0e03d..bd8518a 100644
--- a/src/layer.h
+++ b/src/layer.h
@@ -33,7 +33,9 @@
NETWORK,
XNOR,
REGION,
+ YOLO,
REORG,
+ UPSAMPLE,
REORG_OLD,
BLANK
} LAYER_TYPE;
@@ -76,7 +78,6 @@
int out_h, out_w, out_c;
int n;
int max_boxes;
- int small_object;
int groups;
int size;
int side;
@@ -109,6 +110,10 @@
int noadjust;
int reorg;
int log;
+ int tanh;
+ int *mask;
+ int total;
+ float bflops;
int adam;
float B1;
@@ -130,10 +135,14 @@
float coord_scale;
float object_scale;
float noobject_scale;
+ float mask_scale;
float class_scale;
int bias_match;
int random;
+ float ignore_thresh;
+ float truth_thresh;
float thresh;
+ float focus;
int classfix;
int absolute;
@@ -170,6 +179,10 @@
float *weights;
float *weight_updates;
+ char *align_bit_weights;
+ float *mean_arr;
+ int lda_align;
+
float *col_image;
int * input_layers;
int * input_sizes;
@@ -273,7 +286,7 @@
#ifdef CUDNN
cudnnTensorDescriptor_t srcTensorDesc, dstTensorDesc;
cudnnTensorDescriptor_t dsrcTensorDesc, ddstTensorDesc;
- cudnnTensorDescriptor_t normTensorDesc;
+ cudnnTensorDescriptor_t normTensorDesc, normDstTensorDesc, normDstTensorDescF16;
cudnnFilterDescriptor_t weightDesc;
cudnnFilterDescriptor_t dweightDesc;
cudnnConvolutionDescriptor_t convDesc;
--
Gitblit v1.10.0