Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
MMCV
Commits
5f611bbb
Unverified
Commit
5f611bbb
authored
Jun 12, 2020
by
lizz
Committed by
GitHub
Jun 12, 2020
Browse files
Update lr_updater.py (#334)
parent
6988de82
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
mmcv/runner/hooks/lr_updater.py
mmcv/runner/hooks/lr_updater.py
+1
-2
No files found.
mmcv/runner/hooks/lr_updater.py
View file @
5f611bbb
...
...
@@ -25,8 +25,7 @@ class LrUpdaterHook(Hook):
warmup
=
None
,
warmup_iters
=
0
,
warmup_ratio
=
0.1
,
warmup_by_epoch
=
False
,
**
kwargs
):
warmup_by_epoch
=
False
):
# validate the "warmup" argument
if
warmup
is
not
None
:
if
warmup
not
in
[
'constant'
,
'linear'
,
'exp'
]:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment