8.1.1.3.1.7. blueoil.datasets.cityscapes

8.1.1.3.1.7.1. Module Contents

8.1.1.3.1.7.1.1. Classes

Cityscapes

Dataset base class

class blueoil.datasets.cityscapes.Cityscapes(batch_size=10, *args, **kwargs)

Bases: blueoil.datasets.base.SegmentationBase

Dataset base class

available_subsets = ['train', 'validation', 'test']
extend_dir = cityscapes
classes = ['unlabeled', 'ego vehicle', 'rectification boarder', 'out of roi', 'static', 'dynamic', 'ground', 'road', 'sidewalk', 'parking', 'rail track', 'building', 'wall', 'fence', 'guard rail', 'bridge', 'tunnel', 'pole', 'polegroup', 'traffic light', 'traffic sign', 'vegetation', 'terrain', 'sky', 'person', 'rider', 'car', 'truck', 'bus', 'caravan', 'trailer', 'train', 'motorcycle', 'bicycle']
num_classes
property label_colors(self)
files_and_annotations(self)
__getitem__(self, i)

Returns the i-th item of the dataset.

__len__(self)

returns the number of items in the dataset.

property num_per_epoch(self)

Returns the number of datas in the data subset.