baby.training.training.SegExample¶
- class baby.training.training.SegExample(pred: ndarray, target: ndarray, info: dict, img: ndarray)¶
Bases:
tuple
CNN output paired with target segmented outlines and info
Used for optimising segmentation hyperparameters and for training bud assigment models
- Attributes
Methods
count
(value, /)Return number of occurrences of value.
index
(value[, start, stop])Return first index of value.
- __init__(*args, **kwargs)¶
Methods
__init__
(*args, **kwargs)count
(value, /)Return number of occurrences of value.
index
(value[, start, stop])Return first index of value.
Attributes
Alias for field number 3
Alias for field number 2
Alias for field number 0
Alias for field number 1
- count(value, /)¶
Return number of occurrences of value.
- property img¶
Alias for field number 3
- index(value, start=0, stop=sys.maxsize, /)¶
Return first index of value.
Raises ValueError if the value is not present.
- property info¶
Alias for field number 2
- property pred¶
Alias for field number 0
- property target¶
Alias for field number 1