---
name: "lstmeval"
section: "1"
platform: "linux"
package: "tesseract-ocr"
version: "5.5.0-1+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/lstmeval"
---

# lstmeval(1)

Evaluation program for LSTM-based networks.

## NAME

lstmeval - Evaluation program for LSTM-based networks.

## SYNOPSIS

**lstmeval** --model *lang.lstm\|modelname\_checkpoint\|modelname\_N.NN\_NN\_NN.checkpoint* \[--traineddata lang/lang.traineddata\] --eval\_listfile *lang.eval\_files.txt* \[--verbosity N\] \[--max\_image\_MB NNNN\]

## DESCRIPTION

[lstmeval(1)](/lstmeval/1.md) evaluates LSTM-based networks. Either a recognition model or a training checkpoint can be given as input for evaluation along with a list of lstmf files. If evaluating a training checkpoint, *--traineddata* should also be specified. Intermediate training checkpoints can also be used.

## OPTIONS

- *--model FILE*

  Name of model file (training or recognition) (type:string default:)

- *--traineddata FILE*

  If model is a training checkpoint, then traineddata must be the traineddata file that was given to the trainer (type:string default:)

- *--eval\_listfile FILE*

  File listing sample files in lstmf training format. (type:string default:)

- *--max\_image\_MB INT*

  Max memory to use for images. (type:int default:2000)

- *--verbosity INT*

  Amount of diagnosting information to output (0-2). (type:int default:1)

## HISTORY

[lstmeval(1)](/lstmeval/1.md) was first made available for tesseract4.00.00alpha.

## RESOURCES

Main web site: **https://github.com/tesseract-ocr** Information on training tesseract LSTM: **https://tesseract-ocr.github.io/tessdoc/TrainingTesseract-4.00.html**

## SEE ALSO

[tesseract(1)](/tesseract/1.md)

## COPYING

Copyright (C) 2012 Google, Inc. Licensed under the Apache License, Version 2.0

## AUTHOR

The Tesseract OCR engine was written by Ray Smith and his research groups at Hewlett Packard (1985-1995) and Google (2006-2018).
