fix crash for py3

This commit is contained in:
tzutalin 2017-07-07 13:48:25 +08:00
parent b0e7706de9
commit 7f288a0817

View File

@ -33,7 +33,6 @@ class LabelFile(object):
imgFolderPath = os.path.dirname(imagePath)
imgFolderName = os.path.split(imgFolderPath)[-1]
imgFileName = os.path.basename(imagePath)
print imgFileName
#imgFileNameWithoutExt = os.path.splitext(imgFileName)[0]
# Read from file path because self.imageData might be empty if saving to
# Pascal format