wormpose.dataset.loader

The Dataset loader: instantiates the FramesDataset, FeaturesDataset, FramePreprocessing, ResultsExporter (optional). Also handles the resizing options.

wormpose.dataset.loader.get_dataset_name(dataset_path: str) str[source]

Each dataset gets assigned a name: the root folder of the dataset

Parameters

dataset_path – Full path of the dataset

Returns

Name identifier for the dataset, simply use the basename of the path Each different dataset must have a unique basename in order to process several at once