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
f7a554c2
Commit
f7a554c2
authored
Jun 08, 2021
by
LDOUBLEV
Browse files
fix det_model_dir rec_model_dir Null
parent
81f2ccb1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
test/test.sh
test/test.sh
+4
-0
No files found.
test/test.sh
View file @
f7a554c2
...
@@ -116,8 +116,12 @@ for train_model in ${train_model_list[*]}; do
...
@@ -116,8 +116,12 @@ for train_model in ${train_model_list[*]}; do
if
[
"
${
model_name
}
"
=
"det"
]
;
then
if
[
"
${
model_name
}
"
=
"det"
]
;
then
export
rec_batch_size_list
=(
"1"
)
export
rec_batch_size_list
=(
"1"
)
inference
=
"tools/infer/predict_det.py"
inference
=
"tools/infer/predict_det.py"
det_model_dir
=
${
save_log
}
/export_inference/
rec_model_dir
=
""
elif
[
"
${
model_name
}
"
=
"rec"
]
;
then
elif
[
"
${
model_name
}
"
=
"rec"
]
;
then
inference
=
"tools/infer/predict_rec.py"
inference
=
"tools/infer/predict_rec.py"
rec_model_dir
=
${
save_log
}
/export_inference/
det_model_dir
=
""
fi
fi
# inference
# inference
for
device
in
${
devices
[*]
}
;
do
for
device
in
${
devices
[*]
}
;
do
...
...
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