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
fccfcb6f
Unverified
Commit
fccfcb6f
authored
Oct 16, 2023
by
Leymore
Committed by
GitHub
Oct 17, 2023
Browse files
fix summary default (#483)
parent
6317da08
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
opencompass/utils/run.py
opencompass/utils/run.py
+1
-1
No files found.
opencompass/utils/run.py
View file @
fccfcb6f
...
@@ -99,7 +99,7 @@ def get_config_from_arg(args) -> Config:
...
@@ -99,7 +99,7 @@ def get_config_from_arg(args) -> Config:
run_cfg
=
dict
(
num_gpus
=
args
.
num_gpus
))
run_cfg
=
dict
(
num_gpus
=
args
.
num_gpus
))
models
.
append
(
model
)
models
.
append
(
model
)
summarizer
=
None
summarizer
=
{}
if
args
.
summarizer
:
if
args
.
summarizer
:
summarizers_dir
=
os
.
path
.
join
(
args
.
config_dir
,
'summarizers'
)
summarizers_dir
=
os
.
path
.
join
(
args
.
config_dir
,
'summarizers'
)
s
=
match_cfg_file
(
summarizers_dir
,
[
args
.
summarizer
])[
0
]
s
=
match_cfg_file
(
summarizers_dir
,
[
args
.
summarizer
])[
0
]
...
...
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