def configure_optimizers(self) -> OptimizerLRScheduler:
        """Configure AdamW optimizer and MultiStepLR scheduler."""
        optimizer = AdamW(
            [
                {
                    "params": self.model.adaptor.parameters(),
                    "lr": 0.0001,
                },
                {
                    "params": self.model.segdec.parameters(),
                    "lr": 0.0002,
                    "weight_decay": 0.00001,
                },
            ],
        )
        scheduler = MultiStepLR(
            optimizer,
            milestones=[int(self.trainer.max_epochs * 0.8), int(self.trainer.max_epochs * 0.9)],
            gamma=0.4,
        )
        return [optimizer], [scheduler]
Configure AdamW optimizer and MultiStepLR scheduler.
src/anomalib/models/image/supersimplenet/lightning_model.py