Entries from 2023-09-03 to 1 day
if entropy_weight: if self.cfg.UNSUPNET.MODEL_TYPE == "GUASSIAN": entropy = 0.5 * torch.log(2 * np.pi * np.e * sigma_p) max_entropy = 0.5 * math.log(2 * np.pi * np.e) elif self.cfg.UNSUPNET.MODEL_TYPE == "LAPLACE": entropy = 1 + 0.5 * torc…