efficientdet-pytorch icon indicating copy to clipboard operation
efficientdet-pytorch copied to clipboard

predict遇到问题

Open yangkang121 opened this issue 2 years ago • 1 comments

Traceback (most recent call last): File "E:\yk\Code\efficientdet-pytorch\predict.py", line 77, in r_image = efficientdet.detect_image(image, crop = crop, count=count) File "E:\yk\Code\efficientdet-pytorch\efficientdet.py", line 216, in detect_image draw.rectangle([left + i, top + i, right - i, bottom - i], outline=self.colors[c]) File "D:\Anaconda\envs\objectbox\lib\site-packages\PIL\ImageDraw.py", line 296, in rectangle self.draw.draw_rectangle(xy, ink, 0, width) ValueError: x1 must be greater than or equal to x0

作者大大好,我在使用d3预训练权重进行预测时,出现了这个错误,不知道是什么原因

yangkang121 avatar Oct 09 '23 01:10 yangkang121

已解决

yangkang121 avatar Oct 09 '23 02:10 yangkang121