Closed bugsyb closed 6 years ago
Your error message indicates that the lines https://github.com/tmbdev/ocropy/blob/d3e5cc60b64d070b60d606a16baeda6b436cc23b/ocropus-rtrain#L186-L187 have a problem. The import should look for a clstm.py
, but I can't find that file here. Is this generated by CLSTM? Maybe @kba has some more experience with CLSTM and the bindings here.
These are the clstm python bindings. @mittagessen maintains a version on pypi. Installing with pip install clstm
should provide them.
No they won't. Everything clstm related in ocropy uses an API that was never part of public, running code and is incompatible with my package of the last working separate-derivs branch. Don't use clstm with ocropy. You can train clstm models using the clstmocrtrain
tool and use either the distribution's recognition tools or kraken as a recognizer.
Thanks for clarifying.
Reporting back on issue - trying to run ocopus-rtrain with "-C" to use clstmocrtrain.
Clstm is compiled with gpu=1 and installed. Additionally following lstm related files are found (maybe this is the issue? (yes, I'm experimenting with kraken too, but wanted to make clstmocrtrain working and have it used by ocropy-rtrain.
Importing clstm:
and python -v: