tensorbay.opendataset.AnimalsWithAttributes2#

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

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 (str) – The root directory of the dataset.

Returns

Loaded Dataset instance.

Return type

tensorbay.dataset.dataset.Dataset