Skip to content

scanobjectnn

ScanObjectNN real-world object classification dataset with its background and perturbation variants.

First page of Revisiting Point Cloud Classification: A New Benchmark Dataset and Classification Model on Real-World Data

1908.04616 · August 2019

Classes:

  • ScanObjectNN –

    The ScanObjectNN dataset of 3D object point clouds, as described in the paper

ScanObjectNN [source] ¶

ScanObjectNN(
    root: PathLike,
    *,
    train: bool = True,
    partition: ScanObjectNNPartition = "main",
    background: bool = False,
    variant: Optional[ScanObjectNNVariant] = None,
    classes: Union[
        ScanObjectNNClasses,
        Sequence[ScanObjectNNClasses],
        Literal["all"],
    ] = "all",
    transform: Optional[
        Callable[[Dict[str, Any]], Dict[str, Any]]
    ] = None,
    download: bool = False,
    force_download: bool = False,
    force_process: bool = False,
    show_progress: bool = True,
    accept_terms: bool = False,
)

Bases: PointCloudDataset

The ScanObjectNN dataset of 3D object point clouds, as described in the paper Revisiting Point Cloud Classification: A New Benchmark Dataset and Classification Model on Real-World Data by Mikaela Angelina Uy, Quang-Hieu Pham, Binh-Son Hua, Duc Thanh Nguyen, Sai-Kit Yeung (submitted on 2019).

The dataset is released under a terms-of-use agreement (terms_url): accept it, then pass download=True, accept_terms=True (or answer the prompt download=True alone raises on the terminal), or place the h5_files folder under raw by hand.

The registered checkpoints name the benchmark splits by tag (*.scanobjectnn-<tag>.*):

Tag Arguments
objbg background=True
objonly background=False
hardest background=True, variant="augmentedrot_scale75"

Attributes:

  • class_to_idx (Dict[str, int]) –

    Mapping from class name to label index.

  • raw_file (str) –

    Path to the raw HDF5 file of the split, partition and variant.

  • processed_file (str) –

    Path to the packed .npz cache mirroring raw_file.

  • name (str) –

    Name of the dataset directory.

  • data_dir (str) –

    Path to the dataset directory <root>/<name>.

  • raw_dir (str) –

    Path to the raw download directory.

  • processed_dir (str) –

    Path to the processed cache directory.

class_to_idx property ¶

class_to_idx: Dict[str, int]

Mapping from class name to label index.

raw_file property ¶

raw_file: str

Path to the raw HDF5 file of the split, partition and variant.

processed_file property ¶

processed_file: str

Path to the packed .npz cache mirroring raw_file.

name property ¶

name: str

Name of the dataset directory.

data_dir property ¶

data_dir: str

Path to the dataset directory <root>/<name>.

raw_dir property ¶

raw_dir: str

Path to the raw download directory.

processed_dir property ¶

processed_dir: str

Path to the processed cache directory.