[Features]Add OneCycleLR (#296)
* [Features]Add OnecycleLR * [Features]Add OnecycleLR * yapf disable * build_iter_from_epoch * add epoch * fix args * fix according to comments; * lr-param * fix according to comments * defaults -> default to * remove epoch and steps per step * variabel names
Showing
- mmengine/optim/__init__.py 6 additions, 2 deletionsmmengine/optim/__init__.py
- mmengine/optim/scheduler/__init__.py 6 additions, 4 deletionsmmengine/optim/scheduler/__init__.py
- mmengine/optim/scheduler/lr_scheduler.py 71 additions, 2 deletionsmmengine/optim/scheduler/lr_scheduler.py
- mmengine/optim/scheduler/param_scheduler.py 243 additions, 1 deletionmmengine/optim/scheduler/param_scheduler.py
- tests/test_optim/test_scheduler/test_lr_scheduler.py 43 additions, 1 deletiontests/test_optim/test_scheduler/test_lr_scheduler.py
- tests/test_optim/test_scheduler/test_param_scheduler.py 18 additions, 0 deletionstests/test_optim/test_scheduler/test_param_scheduler.py
Loading
Please register or sign in to comment