code: def caltech101_wrapper_factory(dataset, target_keys):
      if "annotation" in dataset.target_type:
          raise_not_supported(
              "Caltech101 dataset with `target_type=['annotation', ...]`"
          )
  
      return classification_wrapper_factory(dataset, target_keys)
  
imports: from __future__ import annotations
  import collections.abc
  import contextlib
  from collections import defaultdict
  from copy import copy
  import torch
  from torchvision import datasets, tv_tensors
  from torchvision.transforms.v2 import functional
label_desc: Use image node_id 12 for calling a global function with example usage: caltech101_wrapper_factory(dataset, target_keys) and returns: classification_wrapper_factory