There are currently three kinds of models containing the recurrent neural
networks doing all the character recognition supported by kraken:
files serializing old pickled
pyrnn models as protobuf, clstm’s native
serialization, and versatile Core ML models.
Core ML allows arbitrary network architectures in a compact serialization with metadata. This is the default format in pytorch-based kraken.