Загрузка
FER2013 Dataset.
root (str or pathlib.Path) – Root directory of dataset where directory
root/fer2013 exists. This directory may contain either
fer2013.csv, icml_face_data.csv, or both train.csv and
test.csv. Precendence is given in that order, i.e. if
fer2013.csv is present then the rest of the files will be
ignored. All these (combinations of) files contain the same data and
are supported for convenience, but only fer2013.csv and
icml_face_data.csv are able to return non-None test labels.
split (string, optional) – The dataset split, supports "train" (default), or "test".
transform (callable, optional) – A function/transform that takes in a PIL image and returns a transformed
version. E.g, transforms.RandomCrop
target_transform (callable, optional) – A function/transform that takes in the target and transforms it.
Sample and meta data, optionally transformed by the respective transforms.
(Any)