We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c710e6 commit a4b433aCopy full SHA for a4b433a
ISAT/widgets/auto_segment_dialog.py
@@ -61,9 +61,9 @@ def run(self):
61
root = tree.getroot()
62
objs = root.findall('object')
63
size = root.find('size')
64
- width = size.find('width').text
65
- height = size.find('height').text
66
- depth = size.find('depth').text
+ width = int(size.find('width').text)
+ height = int(size.find('height').text)
+ depth = int(size.find('depth').text)
67
except Exception as e:
68
self.message.emit(-1, -1, 'Load xml error: {}'.format(e))
69
continue
0 commit comments