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
de70fe5c
Commit
de70fe5c
authored
Dec 19, 2018
by
pangjm
Browse files
rm useless
parent
ecce8572
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
mmcv/runner/runner.py
mmcv/runner/runner.py
+0
-3
No files found.
mmcv/runner/runner.py
View file @
de70fe5c
...
@@ -262,9 +262,6 @@ class Runner(object):
...
@@ -262,9 +262,6 @@ class Runner(object):
self
.
call_hook
(
'after_train_iter'
)
self
.
call_hook
(
'after_train_iter'
)
self
.
_iter
+=
1
self
.
_iter
+=
1
print
(
'**max cached: {}
\n
'
.
format
(
torch
.
cuda
.
max_memory_cached
()))
print
(
'**max allocated: {}
\n
'
.
format
(
torch
.
cuda
.
max_memory_allocated
()))
self
.
call_hook
(
'after_train_epoch'
)
self
.
call_hook
(
'after_train_epoch'
)
self
.
_epoch
+=
1
self
.
_epoch
+=
1
...
...
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