我是使用 python tensorflow 进行对象检测的新手,我的文件夹包含我需要标记的图像,所以我下载 pyqt5、lableImg 并且当我打开 labelImg 并选择我的图像文件夹的目录它工作正常并在 labelImg 中打开文件夹但是当我选择 Create RectBox 并转到图像以在其上绘制矩形标签, labelImg 停止运行,然后在 cmd 上出现此错误:
Traceback (most recent call last):
File "C:\Users\DCLAP\AppData\Local\Programs\Python\Python310\lib\site-packages\libs\canvas.py", line 530, in paintEvent
p.drawLine(self.prev_point.x(), 0, self.prev_point.x(), self.pixmap.height())
TypeError: arguments did not match any overloaded call:
drawLine(self, QLineF): argument 1 has unexpected type 'float'
drawLine(self, QLine): argument 1 has unexpected type 'float'
drawLine(self, int, int, int, int): argument 1 has unexpected type 'float'
drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float'
drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'
github上的LabelImg repo我的文件夹包含jpg照片和不同的图像大小,所以我希望有人能帮忙谢谢。