class_docstr: Resolve anything that's in LayoutParser model zoo.
class_docstr_tok: ["Resolve","anything","that","'s","in","LayoutParser","model","zoo","."]
code: def _get_local_path(self, path, **kwargs):
      model_name = path[len(self.PREFIX) :]
  
      dataset_name, *model_name, data_type = model_name.split("/")
  
      if data_type == "weight":
          model_url = MODEL_CATALOG[dataset_name]["/".join(model_name)]
      elif data_type == "config":
          model_url = CONFIG_CATALOG[dataset_name]["/".join(model_name)]
      else:
          raise ValueError(f"Unknown data_type {data_type}")
      return PathManager.get_local_path(model_url, **kwargs)
  
imports: from iopath.common.file_io import PathHandler
  from ..base_catalog import PathManager
label_desc: Use image node_id 2 for calling the LayoutParserDetectron2ModelHandler obj's underlying member method code with example usage: obj._get_local_path(path) and returns: PathManager