torch_geometric.datasets.S3DIS

class S3DIS(root: str, test_area: int = 6, train: bool = True, transform: Optional[Callable] = None, pre_transform: Optional[Callable] = None, pre_filter: Optional[Callable] = None, force_reload: bool = False)[source]

Bases: InMemoryDataset

来自“3D Semantic Parsing of Large-Scale Indoor Spaces”论文的(预处理过的)斯坦福大规模3D室内空间数据集,包含三个建筑物中六个大规模室内部分的点云,具有12个语义元素(和一个杂项类)。

Parameters:
  • root (str) – Root directory where the dataset should be saved.

  • test_area (int, optional) – 用于测试的区域 (1-6)。 (默认: 6)

  • train (bool, optional) – If True, loads the training dataset, otherwise the test dataset. (default: True)

  • transform (callable, optional) – A function/transform that takes in an torch_geometric.data.Data object and returns a transformed version. The data object will be transformed before every access. (default: None)

  • pre_transform (callable, optional) – A function/transform that takes in an torch_geometric.data.Data object and returns a transformed version. The data object will be transformed before being saved to disk. (default: None)

  • pre_filter (callable, optional) – A function that takes in an torch_geometric.data.Data object and returns a boolean value, indicating whether the data object should be included in the final dataset. (default: None)

  • force_reload (bool, optional) – Whether to re-process the dataset. (default: False)