labelme使用教程

标注之后labelme出现闪退:
Traceback (most recent call last):
File “D:\install\anaconda\lib\site-packages\labelme\app.py”, line 1364, in newShape
self.addLabel(shape)
File “D:\install\anaconda\lib\site-packages\labelme\app.py”, line 1139, in addLabel
self.labelList.addItem(label_list_item)
File “D:\install\anaconda\lib\site-packages\labelme\widgets\label_list_widget.py”, line 167, in addItem
item.setSizeHint(self.itemDelegate().sizeHint(None, None))
TypeError: setSizeHint(self, QSize): argument 1 has unexpected type ‘QSizeF’

解决方法:
先安装python3.8,再安装pyqt5

conda create --name=labelme python=3.8
pip install pyqt5

相关资料:https://www.bilibili.com/video/BV1xT4y1j7A9/?from=search&seid=2903997967250679674

通过labelme生成的json文件得到mask: https://blog.csdn.net/qq_48355075/article/details/122805677

你可能感兴趣的:(深度学习学习笔记,labelme)