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
b10f12a2
Commit
b10f12a2
authored
Jul 06, 2021
by
LDOUBLEV
Browse files
fix export
parent
ed36f16a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
deploy/slim/quantization/export_model.py
deploy/slim/quantization/export_model.py
+1
-1
No files found.
deploy/slim/quantization/export_model.py
View file @
b10f12a2
...
@@ -113,7 +113,7 @@ def main():
...
@@ -113,7 +113,7 @@ def main():
use_srn
=
config
[
'Architecture'
][
'algorithm'
]
==
"SRN"
use_srn
=
config
[
'Architecture'
][
'algorithm'
]
==
"SRN"
model_type
=
config
[
'Architecture'
][
'model_type'
]
model_type
=
config
[
'Architecture'
][
'model_type'
]
# start eval
# start eval
met
i
rc
=
program
.
eval
(
model
,
valid_dataloader
,
post_process_class
,
metr
i
c
=
program
.
eval
(
model
,
valid_dataloader
,
post_process_class
,
eval_class
,
model_type
,
use_srn
)
eval_class
,
model_type
,
use_srn
)
logger
.
info
(
'metric eval ***************'
)
logger
.
info
(
'metric eval ***************'
)
...
...
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