Skip to main content

No project description provided

Project description


PyLaia is a device agnostic, PyTorch based, deep learning toolkit for handwritten document analysis.

It is also a successor to Laia.

pipeline status Coverage Code quality

Python: 3.9 | 3.10 PyTorch: 1.13.0 | 1.13.1 pre-commit: enabled Code style: black

Get started by having a look at our Documentation!


To install PyLaia from PyPi:

pip install pylaia

Please note that the CUDA version of nnutils (nnutils-pytorch-cuda) is installed by default. If you do not have a GPU, you should install the CPU version (nnutils-pytorch).

The following Python scripts will be installed in your system:


If you want to contribute new feature or found a text that is incorrectly segmented using pySBD, then please head to to know more and follow these steps.

  1. Fork it ( )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Merge Request ( )

Code of conduct

We are committed to providing a friendly, safe and welcoming environment for all. Please read and respect the PyLaia Code of Conduct.


Work in this toolkit was financially supported by the Pattern Recognition and Human Language Technology (PRHLT) Research Center.


  author = {Joan Puigcerver and Carlos Mocholí},
  title = {PyLaia},
  year = {2018},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{}},
  commit = {commit SHA}

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pylaia-1.1.0.tar.gz (135.1 kB view hashes)

Uploaded Source

Built Distribution

pylaia-1.1.0-py3-none-any.whl (86.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page