events¶
CheckpointSaved¶
EarlyStop¶
Event¶
Improvement¶
- class Improvement(field, stage, steps, best, last_best)¶
This event should be emitted on an monitored improvement.
- Parameters
field (
str
) – the field being monitored.stage (
str
) – the stage being monitored.steps (
int
) – the number of steps (generally epochs) that between this and the last improvement.best (
float
) – the best value.last_best (
float
) – the last best value
- best: float¶
- last_best: float¶
- property msg: str¶
- Return type
str
MonitoringEvent¶
Stagnation¶
- class Stagnation(field, stage, steps, best)¶
This event should be emitted when a monitored metric or loss is not improving.
- Parameters
field (
str
) – the field being monitored.stage (
str
) – the stage being monitored.steps (
int
) – the number of steps (generally epochs) that the measured value has been stagnant.best (
float
) – the best value seen so far.
- best: float¶
- property msg: str¶
- Return type
str
UnbottleEvent¶
UnbottlingComplete¶
- class UnbottlingComplete¶
this event should be emitted when unbottling is complete during finetuning.
- Parameters
epoch – the epoch that stopping is triggered.
- property msg¶