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
wangsen
paddle_dbnet
Commits
9abf3fb0
Commit
9abf3fb0
authored
Jan 10, 2022
by
WenmuZhou
Browse files
fix merge config error
parent
443de015
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
deploy/slim/quantization/export_model.py
deploy/slim/quantization/export_model.py
+1
-1
tools/export_model.py
tools/export_model.py
+1
-1
No files found.
deploy/slim/quantization/export_model.py
View file @
9abf3fb0
...
...
@@ -76,7 +76,7 @@ def main():
}
FLAGS
=
ArgsParser
().
parse_args
()
config
=
load_config
(
FLAGS
.
config
)
merge_config
(
FLAGS
.
opt
)
config
=
merge_config
(
config
,
FLAGS
.
opt
)
logger
=
get_logger
()
# build post process
...
...
tools/export_model.py
View file @
9abf3fb0
...
...
@@ -85,7 +85,7 @@ def export_single_model(model, arch_config, save_path, logger):
def
main
():
FLAGS
=
ArgsParser
().
parse_args
()
config
=
load_config
(
FLAGS
.
config
)
merge_config
(
FLAGS
.
opt
)
config
=
merge_config
(
config
,
FLAGS
.
opt
)
logger
=
get_logger
()
# build post process
...
...
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