mirror of
https://github.com/wassname/sloth.git
synced 2026-06-27 18:25:49 +08:00
8696de138569dbcd271e040cb0c6fe8a52ee2c11
When there is no previous state you get a segmentation fault. This fixes it. Experienced by me and also kaggle user [Jeffrey Richley](https://www.kaggle.com/c/noaa-right-whale-recognition/forums/t/16328/python-alternative-to-labelling-tool/92693#post92693). Fault trace: ``` Traceback (most recent call last): File "./bin/sloth", line 16, in <module> labeltool.execute_from_commandline(sys.argv) File "C:\personal\kaggle\sloth\sloth\core\labeltool.py", line 152, in execute_from_commandline self._mainwindow = MainWindow(self) File "C:\personal\kaggle\sloth\sloth\gui\labeltool.py", line 74, in __init__ self.loadApplicationSettings() File "C:\personal\kaggle\sloth\sloth\gui\labeltool.py", line 308, in loadApplicationSettings self.restoreState(state) TypeError: QMainWindow.restoreState(QByteArray, int version=0): argument 1 has unexpected type 'NoneType' ```
sloth
sloth is a tool for labeling image and video data for computer vision research.
The documentation can be found at http://sloth.readthedocs.org/ .
Latest Releases
2013/11/29 v1.0: 2e69fdae40 .zip .tar.gz
For a full list, visit https://github.com/cvhciKIT/sloth/releases
Description
Sloth is a tool for labeling image and video data for computer vision research.
Languages
Python
100%