【labelme】Attribute Error: module ‘labelme‘ has no attribute ‘LabelFile‘

引言

在将labelme标注好的json文件转化为符合语义分割模型训练要求的格式时,出现了如下的Bug:

【labelme】Attribute Error: module ‘labelme‘ has no attribute ‘LabelFile‘_第1张图片

 解决方法:

在终端输入以下代码,即可解决:

 pip install -U labelme

如下图:

 重新运行转化的代码,即可成功完成转化,解决Bug。

你可能感兴趣的:(常见错误与解决方案整理,python,深度学习,开发语言,opencv,人工智能)