小编Ahm*_*man的帖子

我无法使用 labelLImg 标记图像


我是使用 python tensorflow 进行对象检测的新手,我的文件夹包含我需要标记的图像,因此我下载 pyqt5 、 lableImg ,当我打开 labelImg 并选择我的图像文件夹的目录时,它工作正常并在 labelImg 中打开文件夹但是当我选择创建矩形框并转到图像在其上绘制矩形标签,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 …
Run Code Online (Sandbox Code Playgroud)

computer-vision deep-learning conv-neural-network tensorflow labelimg

5
推荐指数
1
解决办法
1万
查看次数