8.1.1.3.1.23. blueoil.datasets.widerface

8.1.1.3.1.23.1. Module Contents

8.1.1.3.1.23.1.1. Classes

WiderFace

Dataset base class

class blueoil.datasets.widerface.WiderFace(subset='train', max_boxes=3, *args, **kwargs)

Bases: blueoil.datasets.base.ObjectDetectionBase

Dataset base class

classes = ['face']
num_classes
available_subsets = ['train', 'validation']
extend_dir = WIDER_FACE
classmethod count_max_boxes(cls, base_path=None)

Count max boxes size over all subsets.

property num_max_boxes(self)

Return count max box size of available subsets.

property num_per_epoch(self)

Returns the number of datas in the data subset.

_init_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.