code: def load_config(file_path):
      """
      Load config from yml/yaml file.
      Args:
          file_path (str): Path of the config file to be loaded.
      Returns: global config
      """
      merge_config(default_config)
      _, ext = os.path.splitext(file_path)
      assert ext in [".yml", ".yaml"], "only support yaml files for now"
      merge_config(yaml.load(open(file_path, "rb"), Loader=yaml.Loader))
      return global_config
  
imports: import numpy
  import os
  import sys
  import platform
  import yaml
  import time
  import shutil
  import paddle
  import paddle.distributed
  from tqdm import tqdm
  from argparse import ArgumentParser, RawDescriptionHelpFormatter
  from utils import get_logger, print_dict
label_desc: Use image node_id 1 for calling a global function with example usage: load_config(file_path) and returns: global_config