InstanceEngine.fit

InstanceEngine.fit(verbose=False)

Train every model the spec asks for, in order.

Parameters

Name Type Description Default
verbose bool Print each model’s name and its per-epoch numbers as they arrive. False

Returns

Name Type Description
dict[str, History] One History per model, by name. The same objects stay on the engine, so
dict[str, History] evaluate, predict and export_weights work afterwards.

Raises

Name Type Description
EngineError If a split a model needs is missing, carries no per-object masks, or carries objects that have all vanished at this input size - which check_objects is what looks for.