labelImgPlus icon indicating copy to clipboard operation
labelImgPlus copied to clipboard

IOError: [Errno 2] No such file or directory:

Open zhiweichen0012 opened this issue 5 years ago • 1 comments

hello, I'm afraid that line 1035(https://github.com/lzx1413/labelImgPlus/blob/master/labelImg.py#L1035) and line 1047(https://github.com/lzx1413/labelImgPlus/blob/master/labelImg.py#L1047) cause the issue of IOError mentioned on the title.

To solve them, line 1035 should be replaced by result_path = os.path.join(self.defaultSaveDir,os.path.splitext(imgFileName)[0]) result_path += '_mask.png' and line 1047 should be replaced by savefilename = os.path.join(self.defaultSaveDir,os.path.splitext(imgFileName)[0]) # the mask image will be save as file_mask.jpg etc. savefilename += '.xml'.

zhiweichen0012 avatar Jun 30 '19 01:06 zhiweichen0012

thanks, I will correct this

lzx1413 avatar Aug 10 '19 07:08 lzx1413