tesseract/lstm
Stefan Weil 9e0da72818 lstm: Fix possible float division by zero
Coverity report:

CID 1366441 (#1 of 1): Division or modulo by float zero (DIVIDE_BY_ZERO)
5. divide_by_zero: In expression
 static_cast<double>(char_errors) / truth_size, division by expression
 truth_size which may be zero has undefined behavior.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-12-01 14:42:54 +01:00
..
convolve.cpp Added new LSTM-based neural network line recognizer 2016-11-07 15:38:07 -08:00
convolve.h Added new LSTM-based neural network line recognizer 2016-11-07 15:38:07 -08:00
ctc.cpp Added new LSTM-based neural network line recognizer 2016-11-07 15:38:07 -08:00
ctc.h Added new LSTM-based neural network line recognizer 2016-11-07 15:38:07 -08:00
fullyconnected.cpp Fixes to training process to allow incremental training from a recognition model 2016-11-30 15:51:17 -08:00
fullyconnected.h Fixes to training process to allow incremental training from a recognition model 2016-11-30 15:51:17 -08:00
functions.cpp Added new LSTM-based neural network line recognizer 2016-11-07 15:38:07 -08:00
functions.h Added new LSTM-based neural network line recognizer 2016-11-07 15:38:07 -08:00
input.cpp Limited max height to 48 even in variable height input, enabled neural nets via ocr engine mode 2016-11-08 14:01:04 -08:00
input.h Added new LSTM-based neural network line recognizer 2016-11-07 15:38:07 -08:00
lstm.cpp lstm: Initialize member variable input_width_ 2016-12-01 14:42:54 +01:00
lstm.h Fixes to training process to allow incremental training from a recognition model 2016-11-30 15:51:17 -08:00
lstmrecognizer.cpp Fixes to training process to allow incremental training from a recognition model 2016-11-30 15:51:17 -08:00
lstmrecognizer.h Fix typos in new LSTM code 2016-11-22 08:25:43 +01:00
lstmtrainer.cpp lstm: Fix possible float division by zero 2016-12-01 14:42:54 +01:00
lstmtrainer.h lstm: Pass big parameter by reference (performance) 2016-12-01 14:42:54 +01:00
Makefile.am Added new LSTM-based neural network line recognizer 2016-11-07 15:38:07 -08:00
maxpool.cpp Added new LSTM-based neural network line recognizer 2016-11-07 15:38:07 -08:00
maxpool.h Added new LSTM-based neural network line recognizer 2016-11-07 15:38:07 -08:00
network.cpp Fixes to training process to allow incremental training from a recognition model 2016-11-30 15:51:17 -08:00
network.h Fixes to training process to allow incremental training from a recognition model 2016-11-30 15:51:17 -08:00
networkbuilder.cpp Added new LSTM-based neural network line recognizer 2016-11-07 15:38:07 -08:00
networkbuilder.h Added new LSTM-based neural network line recognizer 2016-11-07 15:38:07 -08:00
networkio.cpp lstm: Remove several unused variables 2016-11-25 15:43:39 +01:00
networkio.h Added new LSTM-based neural network line recognizer 2016-11-07 15:38:07 -08:00
networkscratch.h Added new LSTM-based neural network line recognizer 2016-11-07 15:38:07 -08:00
parallel.cpp Fixes to training process to allow incremental training from a recognition model 2016-11-30 15:51:17 -08:00
parallel.h Added new LSTM-based neural network line recognizer 2016-11-07 15:38:07 -08:00
plumbing.cpp Fixes to training process to allow incremental training from a recognition model 2016-11-30 15:51:17 -08:00
plumbing.h Fixes to training process to allow incremental training from a recognition model 2016-11-30 15:51:17 -08:00
recodebeam.cpp lstm: Initialize member variable beam_size_ 2016-12-01 14:42:54 +01:00
recodebeam.h Fix typos in new LSTM code 2016-11-22 08:25:43 +01:00
reconfig.cpp Added new LSTM-based neural network line recognizer 2016-11-07 15:38:07 -08:00
reconfig.h Added new LSTM-based neural network line recognizer 2016-11-07 15:38:07 -08:00
reversed.cpp Added new LSTM-based neural network line recognizer 2016-11-07 15:38:07 -08:00
reversed.h Added new LSTM-based neural network line recognizer 2016-11-07 15:38:07 -08:00
series.cpp Fixes to training process to allow incremental training from a recognition model 2016-11-30 15:51:17 -08:00
series.h Fix typos in new LSTM code 2016-11-22 08:25:43 +01:00
static_shape.h Fix typos in new LSTM code 2016-11-22 08:25:43 +01:00
stridemap.cpp Fix typos in new LSTM code 2016-11-22 08:25:43 +01:00
stridemap.h Fixes to training process to allow incremental training from a recognition model 2016-11-30 15:51:17 -08:00
tfnetwork.cpp Added std:: to vector 2016-11-30 15:45:36 -08:00
tfnetwork.h Added new LSTM-based neural network line recognizer 2016-11-07 15:38:07 -08:00
tfnetwork.proto Added new LSTM-based neural network line recognizer 2016-11-07 15:38:07 -08:00
weightmatrix.cpp Fixes to training process to allow incremental training from a recognition model 2016-11-30 15:51:17 -08:00
weightmatrix.h Fixes to training process to allow incremental training from a recognition model 2016-11-30 15:51:17 -08:00