mittagessen / kraken

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

argument error using scheduler #483

Closed magistermilitum closed 1 year ago

magistermilitum commented 1 year ago

Using the last version (4.3.5) an error raises when using an scheduler other that constant in the trainer, v.g: ketos train - -g 0.5 --schedule step -ss 20

Error says: lr_scheduler_step() missing 1 required positional argument: 'metric'

mittagessen commented 1 year ago

Thanks. I had missed some of the changes that lightning 2.x introduced in the callback signatures. Unfortunately, they didn't document them....