delta.assets.download_training_set#
- delta.assets.download_training_set(presets, model)[source]#
Return the path of the training set for the currently loaded configuration.
Depending on the current value of presets (“2D” or “mothermachine”) and of the value of the argument model (“rois”, “seg” or “track”), this function returns the path of the corresponding training set. If necessary, it downloads it first and caches it under a directory that can be specified by the environment variable DELTA_ASSETS_CACHE.
- Parameters
- presetsPRESETS
2D or mothermachine
- modelstr
Type of training set: rois, seg or track.
- Returns
- pathPath
Path of the training set.