pull/320/head
Ye Liu 2020-06-05 14:03:19 +08:00 committed by GitHub
parent 6875dcfe48
commit 1cb3e36a1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -266,7 +266,7 @@ class BaseRunner(metaclass=ABCMeta):
policy_type = lr_config.pop('policy')
# If the type of policy is all in lower case, e.g., 'cyclic',
# then its first letter will be capitalized, e.g., to be 'Cyclic'.
# This is for the convenient usage of Lr updater updater.
# This is for the convenient usage of Lr updater.
# Since this is not applicable for `CosineAnealingLrUpdater`,
# the string will not be changed if it contains capital letters.
if policy_type == policy_type.lower():

View File

@ -165,5 +165,5 @@ class Runner(EpochBasedRunner):
def __init__(self, *args, **kwargs):
warnings.warn(
'Runner was deprecated, please use DeprecationWarning instead')
'Runner was deprecated, please use EpochBasedRunner instead')
super().__init__(*args, **kwargs)