From 60cd28bdfb410539ee582963e8f22bec4f0b7182 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Tue, 22 May 2018 17:10:04 +0000
Subject: [PATCH] Fixed seg-fault that occurred if <class_id> in labels more than classes= in the cfg-file.

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

diff --git a/src/rnn_layer.h b/src/rnn_layer.h
index 00dc1be..bb9478b 100644
--- a/src/rnn_layer.h
+++ b/src/rnn_layer.h
@@ -5,6 +5,7 @@
 #include "activations.h"
 #include "layer.h"
 #include "network.h"
+#define USET
 
 layer make_rnn_layer(int batch, int inputs, int hidden, int outputs, int steps, ACTIVATION activation, int batch_normalize, int log);
 

--
Gitblit v1.10.0