InstanceEngine.export_weights

InstanceEngine.export_weights(model_name, path, **extra)

Write one trained model’s weights, with the sidecar that says what they are for.

Parameters

Name Type Description Default
model_name str Which model’s weights to write. required
path str | Path Where to write. The sidecar goes beside it. required
**extra Anything else to record - the dataset and its licence belong here. {}

Returns

Name Type Description
Path The path written.