FluxML / FluxTraining.jl

A flexible neural net training library inspired by fast.ai
https://fluxml.ai/FluxTraining.jl
MIT License
117 stars 25 forks source link

Use show method for phase in `MetricsPrinter` #137

Closed darsnack closed 1 year ago

darsnack commented 1 year ago

Currently, MetricsPrinter uses the type of the phase in the first column. This causes the table to overflow when the type is very long. In such cases, it is easy to provide a Base.show method to allow for shorter printing. This PR makes MetricsPrinter use the default show method for the phase.

darsnack commented 1 year ago

I think you can release now. I've been training for a couple cycles and haven't found any other tweaks worth getting in before a release.