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
24a66f1d
Unverified
Commit
24a66f1d
authored
Mar 11, 2020
by
NightBaronStar
Committed by
GitHub
Mar 11, 2020
Browse files
Update tensorboard.py (#205)
* Update tensorboard.py * Update tensorboard.py
parent
fd066152
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mmcv/runner/hooks/logger/tensorboard.py
mmcv/runner/hooks/logger/tensorboard.py
+1
-1
No files found.
mmcv/runner/hooks/logger/tensorboard.py
View file @
24a66f1d
...
...
@@ -22,7 +22,7 @@ class TensorboardLoggerHook(LoggerHook):
@
master_only
def
before_run
(
self
,
runner
):
if
torch
.
__version__
>=
'1.1'
:
if
torch
.
__version__
>=
'1.1'
and
'.'
in
torch
.
__version__
:
try
:
from
torch.utils.tensorboard
import
SummaryWriter
except
ImportError
:
...
...
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