code: def get_external_models():
      mmcv_home = _get_mmcv_home()
      default_json_path = osp.join(
          mmcv.__path__[0], "model_zoo/open_mmlab.json"
      )
      default_urls = load_file(default_json_path)
      assert isinstance(default_urls, dict)
      external_json_path = osp.join(mmcv_home, "open_mmlab.json")
      if osp.exists(external_json_path):
          external_urls = load_file(external_json_path)
          assert isinstance(external_urls, dict)
          default_urls.update(external_urls)
  
      return default_urls
  
imports: import io
  import os
  import os.path
  import pkgutil
  import re
  import time
  import warnings
  from collections import OrderedDict
  from importlib import import_module
  from tempfile import TemporaryDirectory
  import torch
  import torchvision
  from torch.optim import Optimizer
  from torch.utils import model_zoo
  import annotator.uniformer.mmcv
  from ..fileio import FileClient
  from ..fileio import load
  from ..parallel import is_module_wrapper
  from ..utils import mkdir_or_exist
  from .dist_utils import get_dist_info
label_desc: Use image node_id 4 for calling a global function with example usage: get_external_models() and returns: default_urls