Replace print with logging in model training
Is your feature/enhancement request related to a problem? Please describe.
When using the ModelTrainer, everything is printed out through a logger, except for when the learning rate is reduced. This is just a normal print to stdout. See picture:
Describe the solution you'd like
For consistency, I would replace the print call with a logging call. For this the logger has to be passed from the ModelTrainer to the AnnealOnPlateu object or just use the global flair logger.
If this is enough for a PR, then I would assign myself to this
Greetings, Patrick
@HallerPatrick this should be fixed in master branch -> https://github.com/flairNLP/flair/pull/2665
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.