delta.assets.download_model#

delta.assets.download_model(presets, model)[source]#

Return the path of the downloaded model, after downloading it if needed.

Parameters
presets: PRESETS

2D or mothermachine

model: MODEL

seg, track or rois

Returns
path: Path

Path of the downloaded model.