code: def get_default_config_path():
      directory = os.path.dirname(os.path.abspath(__file__))
      configs_dir = os.path.join(directory, "..", "configs")
  
      # Check for fb defaults
      fb_defaults = os.path.join(configs_dir, "fb_defaults.yaml")
      if PathManager.exists(fb_defaults):
          return fb_defaults
      else:
          return os.path.join(configs_dir, "defaults.yaml")
  
imports: import collections
  import json
  import logging
  import os
  import warnings
  from ast import literal_eval
  from typing import List
  import torch
  from mmf.common.registry import registry
  from mmf.utils.env import import_user_module
  from mmf.utils.file_io import PathManager
  from mmf.utils.general import get_absolute_path, get_mmf_root
  from omegaconf import DictConfig, errors, OmegaConf
label_desc: Use image node_id 2 for calling a global function with example usage: get_default_config_path() and returns: fb_defaults, os