Skip to content

PyLaia 1.0.0

Compare
Choose a tag to compare
@carmocca carmocca released this 02 Dec 16:49
· 941 commits to master since this release

Added

  • Support distributed training
  • Scripts can now be configured using yaml configuration files
  • Add support for the SGD and Adam optimizers
  • Support color images
  • Log the installed version of each module when scripts are called from shell
  • Add char/word segmentation to the decode script
  • Add several badges to the README
  • Support using a ReduceLROnPlateau scheduler during training
  • A CSV file (metrics.csv) is now created with the results obtained during training
  • Add CONTRIBUTING file
  • Training now can include GPU stats in the progress bar
  • Add isort to pre-commit to keep consistent imports throughout the codebase
  • Users can run the PyLaia scripts using Python now
  • Support half-precision training for fixed height models.
  • Add script to visualize the segmentation output
  • Use Codecov to produce test coverage reports
  • Code is now analyzed using CodeFactor

Changed

  • Make Python 3.6 the minimum supported version
  • Make PyTorch 1.4.0 the minimum supported version
  • Remove ImageToTensor in favor of vision transform ToImageTensor
  • Remove all of the internal logic (engine, actions, hooks, etc) in favor of pytorch-lightning's constructs
  • Change Travis CI for GitHub actions
  • Greatly improve the progress bar. It is used now in all scripts
  • The entire shell API has changed for the better (thanks to jsonargparse). Arguments are now separated into groups and help messages are clearer.
  • Drastically improve our test suite, we now have a 91% coverage

Removed

  • Remove egs directory. These live now at https://github.com/carmocca/PyLaia-examples
  • Remove Baidu's CTC loss in favor of PyTorch's
  • Remove PHOC code. Please open an issue if you were using it
  • Remove Dortmund code. Please open an issue if you were using it
  • Remove CTCLatticeGenerator. Please open an issue if you were using it
  • We no longer support saving checkpoints for more than one metric. Will be added back in a future version

Fixed

  • Fix WER calculation when long delimiters are used
  • Exit training if a delimiter is not present in the vocabulary
  • Hundreds of other minor fixes and refactors to improve the code quality!