class_docstr: This is a preliminary implementation to centralize and validate the configuration.
  May be altered in the future.
  
  A helper class to validate configurations from yaml file.
  
  This serves the following purposes:
      1. Ensure all the options in the yaml are defined, raise error if not.
      2. when type mismatches are found, the validator will raise an error.
      3. a central place to store and display helpful messages for supported configurations.
class_docstr_tok: ["This","is","a","preliminary","implementation","to","centralize","and","validate","the","configuration",".","May","be","altered","in","the","future",".","A","helper","class","to","validate","configurations","from","yaml","file",".","This","serves","the","following","purposes",":","1",".","Ensure","all","the","options","in","the","yaml","are","defined",",","raise","error","if","not",".","2.","when","type","mismatches","are","found",",","the","validator","will","raise","an","error",".","3.","a","central","place","to","store","and","display","helpful","messages","for","supported","configurations","."]
code: def __str__(self) -> str:
      return self.format_help()
  
imports: import logging
  import json
  from typing import Dict
  from omegaconf import OmegaConf
  from lavis.common.registry import registry
label_desc: Use image node_id 3 for calling the ConfigValidator obj's underlying member method code with example usage: obj.__str__() and returns: self