For segmentation mode creating polygon, if I made a mistake and want to revert one step, is there a possible way? I don't want to discard all polygon steps and start over. Thanks.
File "/home/yishen/LabelImgTool-master/libs/pascalVocIO.py", line 133, in save
self.appendObjects(root)
File "/home/yishen/LabelImgTool-master/libs/pascalVocIO.py", line 108, in appendObjects
instance_id.text = str(each_object['instance_id'])
KeyError: 'instance_id'
First I did lots of changes as it wasnt working for python 3.5 and when eventually it start working app failed to save any annotation coz save button or hot keys ctrl+s is not working
savefilename = self.defaultSaveDir + os.path.splitext(imgFileName)[0] + '.xml' # the mask image will be save as file_mask.jpg etc.
TypeError: unsupported operand type(s) for +: 'NoneType' and 'unicode'
I use the LabelImgTool in Win7 with python2.7. However, there is a big question:
ValueError: u'C:/Users/Administrator/Desktop/data/photo/photo1.png' is not in list
Hello, thanks for your great annotation tool. There is a small bug in my version, I run it in Ubuntu, I use it in SEG mode.
If I choose a directory as default annotation dir from menu File, when I save the annotations it saves the files in containing dir, with a filename that is folder+annotation_file_name.
I.e.: default annotation dir = /home/me/annotation, file name = myimage.jpg, it saves annotations files = /home/me/annotationmyimage.json, instead of /home/me/annotation/myimage.json
I think you should just add a / to file name.
Thanks
I use the LabelImgTool in Win7 with python2.7. However, there are a lot of question:
Q1: some buttons cannot be used with grey, such as Create Polygon.
Q2: input label name without labels list.
Q3: Traceback (most recent call last):
File "G:\chrome_download\LabelImgTool-master_py2\LabelImgTool-master\labelImg.
py", line 1196, in newShape
self.label_num_dic[text]]
KeyError: '3'