DataSample#

class DataSample[source]#

Bases: object

A chip and labels along with metadata.

Attributes

__init__(chip: ndarray, label: Any | None = None, split: Optional[Literal['train', 'valid', 'test']] = None, scene_id: str | None = None, window: rastervision.core.box.Box | None = None) None#
Parameters:
Return type:

None

Methods

__init__(chip[, label, split, scene_id, window])

__init__(chip: ndarray, label: Any | None = None, split: Optional[Literal['train', 'valid', 'test']] = None, scene_id: str | None = None, window: rastervision.core.box.Box | None = None) None#
Parameters:
Return type:

None

chip: ndarray#
label: Any | None = None#
scene_id: str | None = None#
split: Optional[Literal['train', 'valid', 'test']] = None#
window: rastervision.core.box.Box | None = None#