MCPcopy Create free account
hub / github.com/ActiveVisionLab/DFNet / on_step_end

Function on_step_end

script/dm/callbacks.py:18–18  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

16 def on_loss_end(self): pass
17 def on_step_begin(self): pass
18 def on_step_end(self): pass
19
20class EarlyStopping:
21 """Early stops the training if validation loss doesn't improve after a given patience."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected