dgs.models.dataset.dataset.BBoxDataset.arbitrary_to_ds

abstract BBoxDataset.arbitrary_to_ds(a: any, idx: int) State[source]

Given a single bounding box (ID) and other arbitrary data, convert everything to a State object. The index idx is given additionally, though it might not be used.