FallingThingsStereo¶
- class torchvision.datasets.FallingThingsStereo(root: Union[str, Path], variant: str = 'single', transforms: Optional[Callable] = None)[source]¶
FallingThings 数据集。
数据集预计具有以下结构
root FallingThings single dir1 scene1 _object_settings.json _camera_settings.json image1.left.depth.png image1.right.depth.png image1.left.jpg image1.right.jpg image2.left.depth.png image2.right.depth.png image2.left.jpg image2.right ... scene2 ... mixed scene1 _object_settings.json _camera_settings.json image1.left.depth.png image1.right.depth.png image1.left.jpg image1.right.jpg image2.left.depth.png image2.right.depth.png image2.left.jpg image2.right ... scene2 ...
- 参数:
root (str 或
pathlib.Path
) – FallingThings 所在的根目录。variant (string) – 要使用的变体。可以是 “single”、“mixed” 或 “both”。
transforms (callable, optional) – 接收样本并返回转换后版本的函数/转换。
- 特殊成员: