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
2d14b487
Commit
2d14b487
authored
Dec 09, 2021
by
andyjpaddle
Browse files
fix det slim export
parent
b41fd6ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
deploy/slim/quantization/export_model.py
deploy/slim/quantization/export_model.py
+1
-2
No files found.
deploy/slim/quantization/export_model.py
View file @
2d14b487
...
@@ -120,8 +120,7 @@ def main():
...
@@ -120,8 +120,7 @@ def main():
for
k
,
v
in
metric
.
items
():
for
k
,
v
in
metric
.
items
():
logger
.
info
(
'{}:{}'
.
format
(
k
,
v
))
logger
.
info
(
'{}:{}'
.
format
(
k
,
v
))
infer_shape
=
[
3
,
32
,
100
]
if
config
[
'Architecture'
][
infer_shape
=
[
3
,
32
,
100
]
if
model_type
!=
"det"
else
[
3
,
640
,
640
]
'model_type'
]
!=
"det"
else
[
3
,
640
,
640
]
save_path
=
config
[
"Global"
][
"save_inference_dir"
]
save_path
=
config
[
"Global"
][
"save_inference_dir"
]
...
...
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