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, 可選) – 場景的資料集劃分,可以是 “train”(預設)或 “test”。
transforms (callable, 可選) – 一個接受樣本並返回變換後版本的函式/變換操作。
- 特殊成員: