class_docstr: Configuration for running a :class:`TorchvisionImageModel`.
  
  See :class:`fiftyone.utils.torch.TorchImageModelConfig` for usage.
class_docstr_tok: ["Configuration","for","running","a",":","class",":","`","TorchvisionImageModel","`",".","See",":","class",":","`","fiftyone.utils.torch.TorchImageModelConfig","`","for","usage","."]
code: def __init__(self, d):
      d = self.init(d)
      super().__init__(d)
  
file_path: fiftyone/fiftyone/zoo/models/torch.py
imports: import contextlib
  import inspect
  import logging
  from packaging import version
  import fiftyone
  import fiftyone.core.utils
  import fiftyone.utils.torch
  import fiftyone.zoo.models
  import torchvision
label_desc: Use image node_id 1 to create a new TorchvisionImageModelConfig object from inherited base classes: fout, fozm with example: obj = TorchvisionImageModelConfig(d)