Skip to content

Planet-AI-GmbH/tfaip-hybrid-ctc-s2s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rescoring Sequence-to-Sequence Models for Text Line Recognition with CTC-Prefixes

Setup

virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements.txt

Run on IAM

source venv/bin/activate
python run_iam.py --model=model/best_lm=0.5_beams=5/serve --data=data/test.lst

Shared Code

In src we share our implementations of the beam-search and the CTC-prefix-scores. Note, that the full algorithm is build in the Tensorflow graph which is why a simple model.predict is sufficient to obtain the decoded sequence.

Citing

Please cite

Wick, C., Zöllner, J., and Grüning, T., "Rescoring Sequence-to-Sequence Models for Text Line Recognition with CTC-Prefixes", arXiv e-prints, 2021.

@ARTICLE{2021arXiv211005909W,
       author = {Wick, Christoph and Zöllner, Jochen and Grüning, Tobias},
        title = "{Rescoring Sequence-to-Sequence Models for Text Line Recognition with CTC-Prefixes}",
      journal = {arXiv e-prints},
         year = 2021,
}

About

Repository sharing code and the model for the paper "Rescoring Sequence-to-Sequence Models for Text Line Recognition with CTC-Prefixes"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published