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)]
      else:
          raise ValueError(f"Unknown data_type {data_type}")
      return PathManager.get_local_path(model_url, **kwargs)
  
imports: import os
  import logging
  from typing import Any, Optional
  from urllib.parse import urlparse
  import tarfile
  import uuid
  from iopath.common.file_io import PathHandler
  from iopath.common.file_io import HTTPURLHandler
  from iopath.common.file_io import get_cache_dir, file_lock
  from iopath.common.download import download
  from ..base_catalog import PathManager
label_desc: Use image node_id 2 for calling the LayoutParserPaddleModelHandler obj's underlying member method code with example usage: obj._get_local_path(path) and returns: PathManager