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
7862bfc7
Commit
7862bfc7
authored
Jun 17, 2022
by
jyn47
Browse files
update predict_system.py
parent
d72329ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tools/infer/predict_system.py
tools/infer/predict_system.py
+1
-1
No files found.
tools/infer/predict_system.py
View file @
7862bfc7
...
...
@@ -115,7 +115,7 @@ def sorted_boxes(dt_boxes):
for
i
in
range
(
num_boxes
-
1
):
for
j
in
range
(
i
,
0
,
-
1
):
if
abs
(
_boxes
[
j
+
1
][
0
][
1
]
-
_boxes
[
j
][
0
][
1
])
<
2
0
and
\
if
abs
(
_boxes
[
j
+
1
][
0
][
1
]
-
_boxes
[
j
][
0
][
1
])
<
1
0
and
\
(
_boxes
[
j
+
1
][
0
][
0
]
<
_boxes
[
j
][
0
][
0
]):
tmp
=
_boxes
[
j
]
_boxes
[
j
]
=
_boxes
[
j
+
1
]
...
...
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