class_docstr: Implementation of Config class for model configure.
  
  Args:
      config_file(str): configure filename, which is a yaml file.
      isCreate(bool): if true, create some neccessary directories to save models, log file and other outputs.
      isSave(bool): if true, save config_file in order to record the configure message.
code: def __init__(self, config_file, isCreate=False, isSave=False):
      self.config_file = config_file
      self.config = self.get_config_from_yaml(config_file)
  
      if isCreate:
          self.create_necessary_dirs()
  
          if isSave:
              self.save_config_file()
  
file_path: PGL/legacy/examples/metapath2vec/utils.py
imports: import datetime
  import os
  import yaml
  import random
  import shutil
label_desc: Use image node_id 1 to create a new Config object from inherited base classes: object with example: obj = Config(config_file, isCreate, isSave)