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/captcha.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/src/captcha.c b/src/captcha.c
index 79b4e4e..3d449b2 100644
--- a/src/captcha.c
+++ b/src/captcha.c
@@ -28,7 +28,6 @@
void train_captcha(char *cfgfile, char *weightfile)
{
- data_seed = time(0);
srand(time(0));
float avg_loss = -1;
char *base = basecfg(cfgfile);
--
Gitblit v1.10.0