fix crash for py3
This commit is contained in:
parent
b0e7706de9
commit
7f288a0817
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user