code: def to_dict(config):
      if type(config) is list:
          return [to_dict(c) for c in config]
      elif type(config) is EasyDict:
          return dict([(k, to_dict(v)) for k, v in config.items()])
      else:
          return config
  
file_path: luminoth/luminoth/utils/config.py
imports: import inspect
  import os.path
  import tensorflow
  import yaml
  from easydict import EasyDict
  from luminoth.models import get_model
label_desc: Use image node_id 3 for calling a global function with example usage: to_dict(config) and returns: unknown, dict, config