def METHOD_NAME(self):
    log_dict = {}
    for k, v in self.meters.items():
        if "train" in k:
            log_dict[k] = f"{v.median:.4f}"
            log_dict[f"{k}/avg"] = f"{v.global_avg:.4f}"
        else:
            log_dict[k] = f"{v.global_avg:.4f}"
    return log_dict