def __init__(self, *args, diagnostic_keys=['loss'], **kwargs):
    super().__init__(*args)
    self.logger = logging.getLogger(self.key)
    self.logger.setLevel(logging.INFO)
    self.diagnostic_keys = diagnostic_keys
def __init__(self, *args, diagnostic_keys=['loss'], **kwargs):
    super().__init__(*args)
    self.logger = logging.getLogger(self.key)
    self.logger.setLevel(logging.INFO)
    self.diagnostic_keys = diagnostic_keys