code: def config_check(cfg, train_dataset=None, val_dataset=None):
      """
      To check config。
  
      Args:
          cfg (paddleseg.cvlibs.Config): An object of paddleseg.cvlibs.Config.
          train_dataset (paddle.io.Dataset): Used to read and process training datasets.
          val_dataset (paddle.io.Dataset, optional): Used to read and process validation datasets.
      """
  
      num_classes_check(cfg, train_dataset, val_dataset)
  
label_desc: Use image node_id 1 for calling a global function with example usage: config_check(cfg, train_dataset, val_dataset) without return types