小虎最近想打开labelme标注好的文件,发现报错了,因为移动过文件,所以想到可能是标注文件信息存在路径。

解决方案

小虎把图片和标注文件移动到了另外一个文件夹,但是标注文件仍然索引原始路径。解决方法是在imagePath一栏去掉路径信息,让labelme索引当前路径的图片文件。
在这里插入图片描述
在这里插入图片描述

原始笔记

Such error can happen in labelme, when you move the .json file. You should either change the image path or keep the annotated image on that folder.

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐