tensorbay.opendataset.SVHN#

tensorbay.opendataset.SVHN(path)[source]#

SVHN dataset.

The file structure should be like:

<path>
    Cropped/
        extra_32x32.mat
        test_32x32.mat
        train_32x32.mat
    FullNumbers/
        extra/
            116507.png
            116508.png
            ...
            digitStruct.mat
            see_bboxes.m
        test/
        train/
Parameters

path (str) – The root directory of the dataset.

Raises

ModuleImportError – When the module “h5py” can not be found.

Returns

class: ~tensorbay.dataset.dataset.Dataset instance.

Return type

Loaded