class_docstr: OpenImages dataset [KDA+17]_
  
  More info: https://storage.googleapis.com/openimages/web/index.html
  
  600-way classification with graular labels and bounding boxes.
  
  ..[KDA+17] Krasin I., Duerig T., Alldrin N., Ferrari V., Abu-El-Haija S.,
  Kuznetsova A., Rom H., Uijlings J., Popov S., Kamali S., Malloci M.,
  Pont-Tuset J., Veit A., Belongie S., Gomes V., Gupta A., Sun C., Chechik G.,
  Cai D., Feng Z., Narayanan D., Murphy K. (2017). OpenImages: A public
  dataset for large-scale multi-label and multi-class image classification.
  Available from https://storage.googleapis.com/openimages/web/index.html. 
class_docstr_tok: ["OpenImages","dataset","[","KDA+17","]","_","More","info",":","https",":","\/\/storage.googleapis.com\/openimages\/web\/index.html","600-way","classification","with","graular","labels","and","bounding","boxes",".","..","[","KDA+17","]","Krasin","I.",",","Duerig","T.",",","Alldrin","N.",",","Ferrari","V.",",","Abu-El-Haija","S.",",","Kuznetsova","A.",",","Rom","H.",",","Uijlings","J.",",","Popov","S.",",","Kamali","S.",",","Malloci","M.",",","Pont-Tuset","J.",",","Veit","A.",",","Belongie","S.",",","Gomes","V.",",","Gupta","A.",",","Sun","C.",",","Chechik","G.",",","Cai","D.",",","Feng","Z.",",","Narayanan","D.",",","Murphy","K.","(","2017",")",".","OpenImages",":","A","public","dataset","for","large-scale","multi-label","and","multi-class","image","classification",".","Available","from","https",":","\/\/storage.googleapis.com\/openimages\/web\/index.html","."]
docstr_tok: []
code: def get_model(self, arch, pretrained):
      """ """
      if pretrained:
          raise ValueError(
              "OpenImages does not support pytorch_pretrained=True"
          )
      return imagenet_models.__dict__[arch](
          num_classes=self.num_classes
      )
  
imports: import pathlib
  import torch
  import torch.utils.data
  from .None import imagenet_models, cifar_models
  from torchvision import transforms, datasets
  from .tools import constants
  from .tools import openimgs_helpers
  from .None import data_augmentation
  from .None import loaders
  from .tools.helpers import get_label_mapping
label_desc: Use image node_id 2 for calling the OpenImages obj's underlying member method code with example usage: obj.get_model(arch, pretrained) and returns: imagenet_models