flowtorch

flowtorch.constants

Global constants for all subpackages.

flowtorch.constants.find_datasets(path: str) Dict[str, str][source]

Find all available datasets/folders in a given location.

If the path does not exist, an empty dictionary is returned.

Parameters

path (str) – path to the folder containing the datasets

Returns

dictionary with the keys being the folder names holding the data and the values being the full paths to the datasets

Return type

Dict[str, str]