tensorbay.opendataset.ImageEmotion.loader

tensorbay.opendataset.ImageEmotion.loader.ImageEmotionAbstract(path)[source]

Dataloader of the Image Emotion-abstract dataset.

The file structure should be like:

<path>
    ABSTRACT_groundTruth.csv
    abstract_xxxx.jpg
    ...
Parameters

path (str) – The root directory of the dataset.

Returns

Loaded Dataset instance.

Return type

tensorbay.dataset.dataset.Dataset

tensorbay.opendataset.ImageEmotion.loader.ImageEmotionArtphoto(path)[source]

Dataloader of the Image Emotion-art Photo dataset.

The file structure should be like:

<path>
    <filename>.jpg
    ...
Parameters

path (str) – The root directory of the dataset.

Returns

Loaded Dataset instance.

Return type

tensorbay.dataset.dataset.Dataset