Python mmcv.runner.OptimizerHook() Examples

The following are 1 code examples of mmcv.runner.OptimizerHook(). You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may also want to check out all available functions/classes of the module mmcv.runner , or try the search function .
Example #1
Source File: dist_utils.py    From mmdetection with Apache License 2.0 5 votes vote down vote up
def __init__(self, *args, **kwargs):
        warnings.warn('"DistOptimizerHook" is deprecated, please switch to'
                      '"mmcv.runner.OptimizerHook".')
        super().__init__(*args, **kwargs)