class_docstr: Places365 Dataset [ZLK+17]_, a 365-class scene recognition dataset.
  
  See `the places2 webpage <http://places2.csail.mit.edu>`_
  for information on how to download this dataset.
  
  .. [ZLK+17] Zhou, B., Lapedriza, A., Khosla, A., Oliva, A., & Torralba, A.  (2017). Places: A 10 million Image Database for Scene Recognition. IEEE Transactions on Pattern Analysis and Machine Intelligence.
class_docstr_tok: ["Places365","Dataset","[","ZLK+17","]","_",",","a","365-class","scene","recognition","dataset",".","See","`","the","places2","webpage","<","http",":","\/\/places2.csail.mit.edu",">","`","_","for","information","on","how","to","download","this","dataset",".","..","[","ZLK+17","]","Zhou",",","B.",",","Lapedriza",",","A.",",","Khosla",",","A.",",","Oliva",",","A.",",","&","Torralba",",","A",".","(","2017",")",".","Places",":","A","10","million","Image","Database","for","Scene","Recognition",".","IEEE","Transactions","on","Pattern","Analysis","and","Machine","Intelligence","."]
docstr_tok: []
code: def get_model(self, arch, pretrained):
      """ """
      return imagenet_models.__dict__[arch](
          num_classes=self.num_classes, pretrained=pretrained
      )
  
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 Places365 obj's underlying member method code with example usage: obj.get_model(arch, pretrained) and returns: imagenet_models