How to make accuracy and loss plots per epoch from a checkpointed ray tune model

Hey @SlowatKela1- this should be possible via the Ray Tune analysis API which returns a pandas dataframe containing all the metrics that have been reported by all trials. Then you can plot this dataframe using any visualization tool you like (for example matplotlib).

If you are using the new Ray 2.0 Tuner API- you would do this through the ResultGrid.get_dataframe() API (ResultGrid (tune.ResultGrid) — Ray 2.0.0).

If you are using the tune.run API from Ray 1.13 or prior, you can do this via the ExperimentAnalysis API (Analysis (tune.analysis) — Ray 1.13.0).

2 Likes