Megvii-BaseDetection / BEVDepth

Official code for BEVDepth.
MIT License
684 stars 94 forks source link

lr scheduler `MultiStepLR` doesn't follow PyTorch's LRScheduler API. #184

Open ChirsHuanhuan opened 8 months ago

ChirsHuanhuan commented 8 months ago

when training I meet the error: pytorch_lightning.utilities.exceptions.MisconfigurationException: The provided lr scheduler MultiStepLR doesn't follow PyTorch's LRScheduler API. You should override the LightningModule.lr_scheduler_step hook with your own logic if you are using a custom LR scheduler. Are there anyone who has met the problem too? How to solve it?