Kitti2012Stereo¶
- class torchvision.datasets.Kitti2012Stereo(root: Union[str, Path], split: str = 'train', transforms: Optional[Callable] = None)[source]¶
来自 2012 立体评估基准的 KITTI 数据集。 使用 RGB 图像以与 KITTI 2015 保持一致。
数据集应具有以下结构
root Kitti2012 testing colored_0 1_10.png 2_10.png ... colored_1 1_10.png 2_10.png ... training colored_0 1_10.png 2_10.png ... colored_1 1_10.png 2_10.png ... disp_noc 1.png 2.png ... calib
- 参数:
root (str 或
pathlib.Path
) – Kitti2012 所在的根目录。split (string, optional) – 场景的数据集分割,可以是 “train”(默认)或 “test”。
transforms (callable, optional) – 接收样本并返回转换后版本的函数/变换。
- 特殊成员: