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
c67ab9a3
Unverified
Commit
c67ab9a3
authored
Jul 05, 2022
by
Evelyn Wang
Committed by
GitHub
Jul 05, 2022
Browse files
[Enhancement] Refine import error of PAVI (#2098)
* Import Error message refined. * PAVI import error message refined.
parent
9fffcbc9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
mmcv/runner/hooks/logger/pavi.py
mmcv/runner/hooks/logger/pavi.py
+3
-1
No files found.
mmcv/runner/hooks/logger/pavi.py
View file @
c67ab9a3
...
...
@@ -68,7 +68,9 @@ class PaviLoggerHook(LoggerHook):
try
:
from
pavi
import
SummaryWriter
except
ImportError
:
raise
ImportError
(
'Please run "pip install pavi" to install pavi.'
)
raise
ImportError
(
'No module named pavi, please contact pavi team or visit'
'document for pavi installation instructions.'
)
self
.
run_name
=
runner
.
work_dir
.
split
(
'/'
)[
-
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