lzx1413 / LabelImgTool

LabelImgTool is a graphical image annotation tool which supports CLS,DET and SEG(semantic&instance )

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Errors in Win7

manketon opened this issue · comments

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'

  1. There are three task modes such as CLS ,SEG and DET. They can be selected in the File/Settings, Polygon is only enabled in the SEG mode.
  2. you should add your labels into the data/predefined_classes.txt file
  3. you can try to clean the rewrite the data/predefined_classes.txt to see whether this can be fixed

@lzx1413 The reason is that I did not execute in LabelImgTool but python2 xx/xx/LabelImgTool/labelImg.py.