cvhciKIT / sloth

Sloth is a tool for labeling image and video data for computer vision research.
Other
610 stars 198 forks source link

traceback after item delete #60

Open baeuml opened 12 years ago

baeuml commented 12 years ago

baeuml@i14pc104:/cvhci/data/face/trackingdb[master]$ sloth -c trackingdbconfig.py youtube/boxTV/shot1.json
Traceback (most recent call last):
File "/home/baeuml/src/sloth/sloth/gui/labeltool.py", line 129, in onCurrentImageChanged
self.scene.setCurrentImage(new_image)
File "/home/baeuml/src/sloth/sloth/gui/annotationscene.py", line 87, in setCurrentImage
self.insertItems(0, len(self._image_item.children())-1)
File "/home/baeuml/src/sloth/sloth/gui/annotationscene.py", line 102, in insertItems
item = self._itemfactory.create(label_class, child)
File "/home/baeuml/src/sloth/sloth/items/factory.py", line 84, in create
return item(_args, kwargs)
File "/home/baeuml/src/sloth/sloth/items/items.py", line 383, in init
self.createChildren()
File "/home/baeuml/src/sloth/sloth/items/items.py", line 387, in createChildren
child = callable
(self._model_item, prefix, self)
File "/home/baeuml/src/sloth/sloth/items/items.py", line 279, in init self._updateRect(self._dataToRect(self._model_item)) File "/home/baeuml/src/sloth/sloth/items/items.py", line 291, in _dataToRect return QRectF(float(model_item[self.prefix() + 'x']), File "/home/baeuml/src/sloth/sloth/annotations/model.py", line 321, in getitem return self._dict[key] KeyError: 'bboxx' Traceback (most recent call last): File "/home/baeuml/src/sloth/sloth/gui/labeltool.py", line 129, in onCurrentImageChanged self.scene.setCurrentImage(new_image) File "/home/baeuml/src/sloth/sloth/gui/annotationscene.py", line 87, in setCurrentImage self.insertItems(0, len(self._image_item.children())-1) File "/home/baeuml/src/sloth/sloth/gui/annotationscene.py", line 102, in insertItems item = self._itemfactory.create(label_class, child) File "/home/baeuml/src/sloth/sloth/items/factory.py", line 84, in create return item(_args,
kwargs) File "/home/baeuml/src/sloth/sloth/items/items.py", line 383, in init self.createChildren() File "/home/baeuml/src/sloth/sloth/items/items.py", line 387, in createChildren child = callable(self._model_item, prefix, self) File "/home/baeuml/src/sloth/sloth/items/items.py", line 279, in init self._updateRect(self._dataToRect(self._model_item)) File "/home/baeuml/src/sloth/sloth/items/items.py", line 291, in _dataToRect return QRectF(float(model_item[self.prefix() + 'x']), File "/home/baeuml/src/sloth/sloth/annotations/model.py", line 321, in getitem return self._dict[key] KeyError: 'bboxx' Traceback (most recent call last): File "/home/baeuml/src/sloth/sloth/gui/labeltool.py", line 129, in onCurrentImageChanged self.scene.setCurrentImage(new_image) File "/home/baeuml/src/sloth/sloth/gui/annotationscene.py", line 87, in setCurrentImage self.insertItems(0, len(self._image_item.children())-1) File "/home/baeuml/src/sloth/sloth/gui/annotationscene.py", line 102, in insertItems item = self._itemfactory.create(label_class, child) File "/home/baeuml/src/sloth/sloth/items/factory.py", line 84, in create return item(_args, kwargs) File "/home/baeuml/src/sloth/sloth/items/items.py", line 383, in init self.createChildren() File "/home/baeuml/src/sloth/sloth/items/items.py", line 387, in createChildren child = callable(self._model_item, prefix, self) File "/home/baeuml/src/sloth/sloth/items/items.py", line 279, in init self._updateRect(self._dataToRect(self._model_item)) File "/home/baeuml/src/sloth/sloth/items/items.py", line 291, in _dataToRect return QRectF(float(model_item[self.prefix() + 'x']), File "/home/baeuml/src/sloth/sloth/annotations/model.py", line 321, in getitem return self._dict[key] KeyError: 'bboxx' Traceback (most recent call last): File "/home/baeuml/src/sloth/sloth/gui/labeltool.py", line 129, in onCurrentImageChanged self.scene.setCurrentImage(new_image) File "/home/baeuml/src/sloth/sloth/gui/annotationscene.py", line 87, in setCurrentImage self.insertItems(0, len(self._image_item.children())-1) File "/home/baeuml/src/sloth/sloth/gui/annotationscene.py", line 102, in insertItems item = self._itemfactory.create(label_class, child) File "/home/baeuml/src/sloth/sloth/items/factory.py", line 84, in create return item(_args, kwargs) File "/home/baeuml/src/sloth/sloth/items/items.py", line 383, in init self.createChildren() File "/home/baeuml/src/sloth/sloth/items/items.py", line 387, in createChildren child = callable(self._model_item, prefix, self) File "/home/baeuml/src/sloth/sloth/items/items.py", line 279, in init self._updateRect(self._dataToRect(self._model_item)) File "/home/baeuml/src/sloth/sloth/items/items.py", line 291, in _dataToRect return QRectF(float(model_item[self.prefix() + 'x']), File "/home/baeuml/src/sloth/sloth/annotations/model.py", line 321, in getitem return self._dict[key] KeyError: 'bboxx'