tesseract  5.0.0-alpha-619-ge9db
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
 

Macros

#define _USE_MATH_DEFINES
 

Variables

const double tesseract::kMinDivergenceRate = 50.0
 
const int tesseract::kMinStallIterations = 10000
 
const double tesseract::kSubTrainerMarginFraction = 3.0 / 128
 
const double tesseract::kLearningRateDecay = M_SQRT1_2
 
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
 

Macro Definition Documentation

◆ _USE_MATH_DEFINES

#define _USE_MATH_DEFINES

Definition at line 18 of file lstmtrainer.cpp.