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
a8318353
Unverified
Commit
a8318353
authored
Apr 11, 2022
by
pollyyan
Committed by
GitHub
Apr 11, 2022
Browse files
Merge pull request #5936 from LDOUBLEV/dygraph
fix slim export model
parents
d76bc57a
1c589d6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
deploy/slim/quantization/export_model.py
deploy/slim/quantization/export_model.py
+1
-0
No files found.
deploy/slim/quantization/export_model.py
View file @
a8318353
...
@@ -133,6 +133,7 @@ def main():
...
@@ -133,6 +133,7 @@ def main():
sub_model_save_path
,
logger
)
sub_model_save_path
,
logger
)
else
:
else
:
save_path
=
os
.
path
.
join
(
save_path
,
"inference"
)
save_path
=
os
.
path
.
join
(
save_path
,
"inference"
)
model
.
eval
()
export_single_model
(
quanter
,
model
,
infer_shape
,
save_path
,
logger
)
export_single_model
(
quanter
,
model
,
infer_shape
,
save_path
,
logger
)
...
...
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