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
a21bd9b7
Commit
a21bd9b7
authored
Jun 24, 2020
by
dyning
Browse files
raise exception when concatenate error
parent
6a6c97f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tools/eval_utils/eval_det_utils.py
tools/eval_utils/eval_det_utils.py
+1
-1
No files found.
tools/eval_utils/eval_det_utils.py
View file @
a21bd9b7
...
...
@@ -62,7 +62,7 @@ def cal_det_res(exe, config, eval_info_dict):
try
:
img_list
=
np
.
concatenate
(
img_list
,
axis
=
0
)
except
:
err
=
"concatenate error usually caused by different input image shapes.
\n
\
err
=
"concatenate error usually caused by different input image shapes
in evaluation or testing
.
\n
\
Please set
\"
test_batch_size_per_card
\"
in main yml as 1
\n
\
or add
\"
test_image_shape: [h, w]
\"
in reader yml for EvalReader."
raise
Exception
(
err
)
...
...
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