"git@developer.sourcefind.cn:modelzoo/painter_pytorch.git" did not exist on "9e039ca8c9b5c7a7b570e9d4e9fa2c7f5fc30203"
Commit 41f73e31 authored by WenmuZhou's avatar WenmuZhou
Browse files

fix starttime noe define error

parent 2062b509
...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment