Changed .lif to .xml, allowing annotation I/O
LabelImg cannot read .lif files, but saving the annotations as .xml allows the annotations to be read when switching between images or reopening previously annotated images.
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ class LabelFileError(Exception):
|
||||
|
||||
class LabelFile(object):
|
||||
# It might be changed as window creates
|
||||
suffix = '.lif'
|
||||
suffix = '.xml'
|
||||
|
||||
def __init__(self, filename=None):
|
||||
self.shapes = ()
|
||||
|
||||
Reference in New Issue
Block a user