mittagessen / kraken

OCR engine for all the languages
http://kraken.re
Apache License 2.0
673 stars 125 forks source link

(Apparent) Inconsistency in the expected version of scikit-learn #584

Closed sdevaleriola closed 3 months ago

sdevaleriola commented 3 months ago

The https://github.com/mittagessen/kraken/blob/main/setup.cfg files says scikit-learn~=1.2.1 but when I run ketos train, I get the message scikit-learn version 1.2.1 is not supported. Minimum required version: 0.17. Maximum required version: 1.1.2. Disabling scikit-learn conversion API. I am running the kraken v 5.0.0 on Windows, with Python 3.10.7. Is there anything I'm not doing right?

mittagessen commented 3 months ago

That's a coremltools warning that I haven't figured out how to suppress. It concerns functionality we don't use so it can be safely ignored.

sdevaleriola commented 3 months ago

thanks for your rapid answer!