Use
Base.methods to check what events a callback handles:
You can use GraphPlot.jl to visualize the dependencies between callbacks:
using
GraphPlot
gplot
(
learner
.
callbacks
.
graph
,
nodelabel
=
learner
.
callbacks
.
cbs
,
layout
=
stressmajorize_layout
)(the target of an arrow depends on the origin)
As an example for a detected dependency, we can see that
MetricsPrinter runs after
Metrics.
MetricsPrinter prints the values of all metrics, so [
Metrics] needs to run first.