code: def load_config(config_path, display=False):
      config = OmegaConf.load(config_path)
      if display:
          print(yaml.dump(OmegaConf.to_container(config)))
      return config
  
file_path: transformers/examples/research_projects/vqgan-clip/loaders.py
imports: import importlib
  import torch
  import yaml
  from omegaconf import OmegaConf
  from taming.models.vqgan import VQModel
label_desc: Use image node_id 1 for calling a global function with example usage: load_config(config_path, display) and returns: config