tensorbay.opendataset.AnimalsWithAttributes2.loader

tensorbay.opendataset.AnimalsWithAttributes2.loader.AnimalsWithAttributes2(path: str) tensorbay.dataset.dataset.Dataset[source]

Dataloader of the Animals with attributes 2 dataset.

The file structure should be like:

<path>
    classes.txt
    predicates.txt
    predicate-matrix-binary.txt
    JPEGImages/
        <classname>/
            <imagename>.jpg
        ...
    ...
Parameters

path – The root directory of the dataset.

Returns

Loaded Dataset instance.