class_docstr: Mixin class for Config classes of :class:`fiftyone.core.models.Model`
  instances whose models are stored in the FiftyOne Model Zoo.
  
  This class provides the following functionality:
  
  -   The model to load can be specified either by:
  
      (a) providing a `model_name`, which specifies the zoo model to load.
          The model will be downloaded, if necessary
  
      (b) providing a `model_path`, which directly specifies the path to the
          model to load
  
  -   :class:`fiftyone.core.models.ModelConfig` definitions that use zoo
      models with default deployments will have default values for any
      unspecified parameters loaded and applied at runtime
  
  Args:
      model_name: the name of the zoo model to load. If this value is
          provided, `model_path` does not need to be
      model_path: the path to an already downloaded zoo model on disk to
          load. If this value is provided, `model_name` does not need to be
class_docstr_tok: ["Mixin","class","for","Config","classes","of",":","class",":","`","fiftyone.core.models.Model","`","instances","whose","models","are","stored","in","the","FiftyOne","Model","Zoo",".","This","class","provides","the","following","functionality",":","-","The","model","to","load","can","be","specified","either","by",":","(","a",")","providing","a","`","model_name","`",",","which","specifies","the","zoo","model","to","load",".","The","model","will","be","downloaded",",","if","necessary","(","b",")","providing","a","`","model_path","`",",","which","directly","specifies","the","path","to","the","model","to","load","-",":","class",":","`","fiftyone.core.models.ModelConfig","`","definitions","that","use","zoo","models","with","default","deployments","will","have","default","values","for","any","unspecified","parameters","loaded","and","applied","at","runtime","Args",":","model_name",":","the","name","of","the","zoo","model","to","load",".","If","this","value","is","provided",",","`","model_path","`","does","not","need","to","be","model_path",":","the","path","to","an","already","downloaded","zoo","model","on","disk","to","load",".","If","this","value","is","provided",",","`","model_name","`","does","not","need","to","be"]
code: def _get_model(cls, model_name):
      return get_zoo_model(model_name)
  
imports: from collections import defaultdict
  from copy import deepcopy
  import logging
  import os
  import weakref
  from eta.core.config import ConfigError
  import eta.core.learning
  import eta.core.models
  import eta.core.utils
  import fiftyone
  import fiftyone.core.models
label_desc: Use image node_id 2 for calling the HasZooModel obj's underlying member method code with example usage: obj._get_model(cls, model_name) and returns: get_zoo_model