SegmentationConcept2D
- class hybrid_learning.concepts.concepts.SegmentationConcept2D(name, data, rel_size=None)[source]
Bases:
Concept
Concept with segmentation data.
Public Data Attributes:
Settings dict to reproduce instance.
Type of the concept, which is segmentation for this sub-class.
Inherited from : py: class:Concept
Type of the concept, which is segmentation for this sub-class.
train_data
Training data set.
val_data
Validation data set.
test_data
Test data set.
train_val_data
Combined dataset of the defining training and validation data.
Settings dict to reproduce instance.
Special Methods:
__init__
(name, data[, rel_size])Init.
__eq__
(other)In addition to
__eq__()
checkrel_size
.
- __eq__(other)[source]
In addition to
__eq__()
checkrel_size
.- Parameters
other (SegmentationConcept2D) –
- __hash__ = None
- data: DataTriple
The data defining the concept, split into train/val/test data.
- rel_size: Optional[Tuple[float, float]]
Size of the concept in
(width, height)
relative to the image size. If set, used by detection and segmentation concept models to determine kernel size. May be None if not given (e.g. if variance too high).
- property type: ConceptTypes
Type of the concept, which is segmentation for this sub-class.