Use PyTorch schedulers in lr_config? #8790
-
Hello, I was wondering if it is possible to use PyTorch schedulers in the
However, PyTorch's scheduler has different parameters:
How could I use PyTorch's schedulers in the I tried passing PyTorch's parameters as **kwargs but that didnt work. Example:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The schedulers used in MMDet 2.x have different implementation from those in PyTorch. |
Beta Was this translation helpful? Give feedback.
The schedulers used in MMDet 2.x have different implementation from those in PyTorch.
But we have unified them in MMDet 3.x, which you might be interested in.
You can try them at https://github.com/open-mmlab/mmdetection/tree/3.x, which uses schedulers in https://mmengine.readthedocs.io/en/latest/api/optim.html#scheduler