Loader
Loader class
paz.abstract.loader.Loader(path, split, class_names, name)
Abstract class for loading a dataset.
Arguments
- path: String. Path to data.
- split: String. Dataset split e.g. traing, val, test.
- class_names: List of strings. Label names of the classes.
- name: String. Dataset name.
Properties
- name: Str.
- path: Str.
- split: Str or Flag.
- class_names: List of strings.
- num_classes: Int.
Methods
load_data()
Loader methods
load_data
load_data()
Abstract method for loading dataset.
Returns
dictionary containing absolute image paths as keys, and ground truth vectors as values.