shinTB
shinTB copied to clipboard
question about runner.test()
Hi, Thank you for great code!!, I am newbie in Textboxes. After training runner.train(..), I have evaluated runner.test(2) and then I have error like:
TypeError Traceback (most recent call last)
E:\shinTB\shintb\runner.py in test(self, iter) 194 output_boxes, output_confidence = self.outputdrawer.format_output(pred_conf[0], pred_loc[0]) 195 --> 196 self.outputdrawer.draw_outputs(test_imgs[0], output_boxes, output_confidence, wait=1) 197 198 step += 1
E:\shinTB\shintb\output_drawer.py in draw_outputs(self, img, boxes, confidences, wait) 102 rect_start = (x,y) 103 rect_end = (x+w, y+h) --> 104 I = cv2.rectangle(I, rect_start, rect_end, (255, 0, 0) , 5 ) 105 106 print("Textboxes information!")
TypeError: integer argument expected, got float
Can you fix it?
I got the same error,have you solved it ? @funmv
@funmv @yingning when i test,i have the same problem ,have you solve it?
@funmv @yingning @kstys @shinjayne I got same issue? Please guide
Thanks in Advance.