class_docstr: - **homepage**: http://www.vision.caltech.edu/visipedia/CUB-200.html
code: def __init__(
      self,
      root: Union[str, pathlib.Path],
      *,
      split: str = "train",
      year: str = "2011",
      skip_integrity_check: bool = False,
  ) -> None:
      self._split = self._verify_str_arg(
          split, "split", ("train", "test")
      )
      self._year = self._verify_str_arg(year, "year", ("2010", "2011"))
  
      self._categories = _info()["categories"]
  
      super().__init__(
          root,
          # TODO: this will only be available after https://github.com/pytorch/vision/pull/5473
          # dependencies=("scipy",),
          skip_integrity_check=skip_integrity_check,
      )
  
imports: import csv
  import functools
  import pathlib
  from typing import Any, BinaryIO, Callable, Dict, List, Optional, Tuple, Union
  import torch
  from torchdata.datapipes.iter import CSVDictParser, CSVParser, Demultiplexer, Filter, IterDataPipe, IterKeyZipper, LineReader, Mapper
  from torchdata.datapipes.map import IterToMapConverter
  from torchvision.prototype.datasets.utils import Dataset, EncodedImage, GDriveResource, OnlineResource
  from torchvision.prototype.datasets.utils._internal import getitem, hint_sharding, hint_shuffling, INFINITE_BUFFER_SIZE, path_accessor, path_comparator, 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 CUB200 object from inherited base classes: Dataset with example: obj = CUB200(root)