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
opencompass
Commits
ff2c15a0
Unverified
Commit
ff2c15a0
authored
Sep 20, 2023
by
Zequn Liu
Committed by
GitHub
Sep 20, 2023
Browse files
[fix] summarizer debug logger (#417)
parent
3e980a97
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
opencompass/utils/summarizer.py
opencompass/utils/summarizer.py
+1
-1
No files found.
opencompass/utils/summarizer.py
View file @
ff2c15a0
...
@@ -57,7 +57,7 @@ class Summarizer:
...
@@ -57,7 +57,7 @@ class Summarizer:
result
=
mmengine
.
load
(
filepath
)
result
=
mmengine
.
load
(
filepath
)
raw_results
[
model_abbr
][
dataset_abbr
]
=
result
raw_results
[
model_abbr
][
dataset_abbr
]
=
result
if
'error'
in
result
:
if
'error'
in
result
:
self
.
debug
(
f
'error in
{
model_abbr
}
{
dataset_abbr
}
{
result
[
"error"
]
}
'
)
self
.
logger
.
debug
(
f
'error in
{
model_abbr
}
{
dataset_abbr
}
{
result
[
"error"
]
}
'
)
continue
continue
else
:
else
:
parsed_results
[
model_abbr
][
dataset_abbr
]
=
[]
parsed_results
[
model_abbr
][
dataset_abbr
]
=
[]
...
...
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