cloudViewer.ml.torch.datasets.SunRGBD#
- class cloudViewer.ml.torch.datasets.SunRGBD(dataset_path, name='SunRGBD', cache_dir='./logs/cache', use_cache=False, **kwargs)[source]#
SunRGBD 3D dataset for Object Detection, used in visualizer, training, or test.
- __init__(dataset_path, name='SunRGBD', cache_dir='./logs/cache', use_cache=False, **kwargs)[source]#
Initialize the dataset by passing the dataset and other details.
- get_label_to_names()[source]#
Returns a label to names dictonary object.
- Returns:
A dict where keys are label numbers and values are the corresponding names.
- get_split(split)[source]#
Returns a dataset split.
- Parameters:
split – A string identifying the dataset split that is usually one of
'training' –
'test' –
'validation' –
'all'. (or) –
- Returns:
A dataset split object providing the requested subset of the data.