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
41f73e31
"git@developer.sourcefind.cn:modelzoo/painter_pytorch.git" did not exist on "9e039ca8c9b5c7a7b570e9d4e9fa2c7f5fc30203"
Commit
41f73e31
authored
Jul 13, 2021
by
WenmuZhou
Browse files
fix starttime noe define error
parent
2062b509
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
tools/infer/predict_cls.py
tools/infer/predict_cls.py
+0
-1
No files found.
tools/infer/predict_cls.py
View file @
41f73e31
...
@@ -112,7 +112,6 @@ class TextClassifier(object):
...
@@ -112,7 +112,6 @@ class TextClassifier(object):
if
'180'
in
label
and
score
>
self
.
cls_thresh
:
if
'180'
in
label
and
score
>
self
.
cls_thresh
:
img_list
[
indices
[
beg_img_no
+
rno
]]
=
cv2
.
rotate
(
img_list
[
indices
[
beg_img_no
+
rno
]]
=
cv2
.
rotate
(
img_list
[
indices
[
beg_img_no
+
rno
]],
1
)
img_list
[
indices
[
beg_img_no
+
rno
]],
1
)
elapse
=
time
.
time
()
-
starttime
return
img_list
,
cls_res
,
elapse
return
img_list
,
cls_res
,
elapse
...
...
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