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)
|
imgFolderPath = os.path.dirname(imagePath)
|
||||||
imgFolderName = os.path.split(imgFolderPath)[-1]
|
imgFolderName = os.path.split(imgFolderPath)[-1]
|
||||||
imgFileName = os.path.basename(imagePath)
|
imgFileName = os.path.basename(imagePath)
|
||||||
print imgFileName
|
|
||||||
#imgFileNameWithoutExt = os.path.splitext(imgFileName)[0]
|
#imgFileNameWithoutExt = os.path.splitext(imgFileName)[0]
|
||||||
# Read from file path because self.imageData might be empty if saving to
|
# Read from file path because self.imageData might be empty if saving to
|
||||||
# Pascal format
|
# Pascal format
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user