tesseract  4.00.00dev
lstmtrainer.cpp File Reference
#include "lstmtrainer.h"
#include <string>
#include "allheaders.h"
#include "boxread.h"
#include "ctc.h"
#include "imagedata.h"
#include "input.h"
#include "networkbuilder.h"
#include "ratngs.h"
#include "recodebeam.h"
#include "tprintf.h"
#include "callcpp.h"

Go to the source code of this file.

Namespaces

 tesseract
 

Variables

const double tesseract::kMinDivergenceRate = 50.0
 
const int tesseract::kMinStallIterations = 10000
 
const double tesseract::kSubTrainerMarginFraction = 3.0 / 128
 
const double tesseract::kLearningRateDecay = sqrt(0.5)
 
const int tesseract::kNumAdjustmentIterations = 100
 
const int tesseract::kErrorGraphInterval = 1000
 
const int tesseract::kNumPagesPerBatch = 100
 
const int tesseract::kMinStartedErrorRate = 75
 
const double tesseract::kStageTransitionThreshold = 10.0
 
const double tesseract::kHighConfidence = 0.9375
 
const double tesseract::kImprovementFraction = 15.0 / 16.0
 
const double tesseract::kBestCheckpointFraction = 31.0 / 32.0
 
const int tesseract::kTargetXScale = 5
 
const int tesseract::kTargetYScale = 100