tensorbay.opendataset.AnimalsWithAttributes2.loader
- tensorbay.opendataset.AnimalsWithAttributes2.loader.AnimalsWithAttributes2(path)[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 (str) – The root directory of the dataset.
- Returns
Loaded
Dataset
instance.- Return type