FASSEGParts

class hybrid_learning.datasets.custom.fasseg.FASSEGParts(value)[source]

Bases: tuple, Enum

Mapping of part names to colors in FASSEG dataset.

Public Data Attributes:

EYES

NOSE

SKIN

HAIR

BACKGROUND

MOUTH

Inherited from : py: class:Enum

Public Methods:

Inherited from : py: class:tuple

index(value[, start, stop])

Return first index of value.

count(value, /)

Return number of occurrences of value.

Special Methods:

__repr__()

Return repr(self).

__new__(value)

Inherited from : py: class:tuple

__repr__()

Return repr(self).

__hash__()

Return hash(self).

__getattribute__(name, /)

Return getattr(self, name).

__lt__(value, /)

Return self<value.

__le__(value, /)

Return self<=value.

__eq__(value, /)

Return self==value.

__ne__(value, /)

Return self!=value.

__gt__(value, /)

Return self>value.

__ge__(value, /)

Return self>=value.

__iter__()

Implement iter(self).

__len__()

Return len(self).

__getitem__(key, /)

Return self[key].

__add__(value, /)

Return self+value.

__mul__(value, /)

Return self*value.

__rmul__(value, /)

Return value*self.

__contains__(key, /)

Return key in self.

__new__(value)

__getnewargs__()

Inherited from : py: class:Enum

__repr__()

Return repr(self).

__str__()

Return str(self).

__dir__()

Returns all members and all public methods

__format__(format_spec)

Returns format using actual value type unless __str__ has been overridden.

__hash__()

Return hash(self).

__reduce_ex__(proto)

Helper for pickle.


BACKGROUND = (255, 0, 0)
EYES = (0, 0, 255)
HAIR = (127, 0, 0)
MOUTH = (0, 255, 0)
NOSE = (0, 255, 255)
SKIN = (255, 255, 0)