A new installation of kraken gets torchmetrics 1.1.1 which wants a different import statement for CharErrorRate and WordErrorRate:
FutureWarning: Importing `CharErrorRate` from `torchmetrics` was deprecated and will be removed in 2.0. Import `CharErrorRate` from `torchmetrics.text` instead.
FutureWarning: Importing `WordErrorRate` from `torchmetrics` was deprecated and will be removed in 2.0. Import `WordErrorRate` from `torchmetrics.text` instead.
Update the import statement and require at least torchmetrics 1.1.0 which introduced the modified import.
A new installation of kraken gets torchmetrics 1.1.1 which wants a different import statement for CharErrorRate and WordErrorRate:
Update the import statement and require at least torchmetrics 1.1.0 which introduced the modified import.