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
0ff2aef2
Commit
0ff2aef2
authored
Dec 09, 2020
by
WenmuZhou
Browse files
rename inference model save path
parent
4fd696cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
tools/export_model.py
tools/export_model.py
+1
-2
No files found.
tools/export_model.py
View file @
0ff2aef2
...
@@ -57,8 +57,7 @@ def main():
...
@@ -57,8 +57,7 @@ def main():
init_model
(
config
,
model
,
logger
)
init_model
(
config
,
model
,
logger
)
model
.
eval
()
model
.
eval
()
save_path
=
'{}/{}/inference'
.
format
(
FLAGS
.
output_path
,
save_path
=
'{}/inference'
.
format
(
FLAGS
.
output_path
)
config
[
'Architecture'
][
'model_type'
])
infer_shape
=
[
3
,
32
,
100
]
if
config
[
'Architecture'
][
infer_shape
=
[
3
,
32
,
100
]
if
config
[
'Architecture'
][
'model_type'
]
!=
"det"
else
[
3
,
640
,
640
]
'model_type'
]
!=
"det"
else
[
3
,
640
,
640
]
model
=
to_static
(
model
=
to_static
(
...
...
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