From ec766fc3f114dd4faaa3add500776a7bae957ba5 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Tue, 29 May 2018 11:35:32 +0000
Subject: [PATCH] Ignore empty extra lines in train.txt
---
src/rnn.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/src/rnn.c b/src/rnn.c
index 4f0e011..eca6f55 100644
--- a/src/rnn.c
+++ b/src/rnn.c
@@ -129,7 +129,6 @@
void train_char_rnn(char *cfgfile, char *weightfile, char *filename, int clear, int tokenized)
{
srand(time(0));
- data_seed = time(0);
unsigned char *text = 0;
int *tokens = 0;
size_t size;
--
Gitblit v1.10.0