def configure_optimizers(self):
    optim = torch.optim.Adam(self.parameters(), lr=(0.001 * lr_factor), weight_decay=1e-06)
    scheduler = torch.optim.lr_scheduler.CosineAnnealingLR(optim, max_epochs)
    return ([optim], [scheduler])
def configure_optimizers(self):
    optim = torch.optim.Adam(self.parameters(), lr=(0.001 * lr_factor), weight_decay=1e-06)
    scheduler = torch.optim.lr_scheduler.CosineAnnealingLR(optim, max_epochs)
    return ([optim], [scheduler])