class_docstr: - **homepage**: https://data.caltech.edu/records/20087
class_docstr_tok: ["-","*","*","homepage","*","*",":","https",":","\/\/data.caltech.edu\/records\/20087"]
code: def __init__(
      self,
      root: Union[str, pathlib.Path],
      skip_integrity_check: bool = False,
  ) -> None:
      self._categories = _caltech256_info()["categories"]
  
      super().__init__(root, skip_integrity_check=skip_integrity_check)
  
imports: import pathlib
  import re
  from typing import Any, BinaryIO, Dict, List, Tuple, Union
  import numpy
  import torch
  from torchdata.datapipes.iter import Filter, IterDataPipe, IterKeyZipper, Mapper
  from torchvision.prototype.datasets.utils import Dataset, EncodedImage, GDriveResource, OnlineResource
  from torchvision.prototype.datasets.utils._internal import hint_sharding, hint_shuffling, INFINITE_BUFFER_SIZE, read_categories_file, read_mat
  from torchvision.prototype.tv_tensors import Label
  from torchvision.tv_tensors import BoundingBoxes
  from .._api import register_dataset, register_info
label_desc: Use image node_id 1 to create a new Caltech256 object from inherited base classes: Dataset with example: obj = Caltech256(root, skip_integrity_check)