Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

empty Cache when loading another dataset #7

Open
daurer opened this issue Sep 29, 2014 · 1 comment
Open

empty Cache when loading another dataset #7

daurer opened this issue Sep 29, 2014 · 1 comment

Comments

@daurer
Copy link
Collaborator

daurer commented Sep 29, 2014

Traceback (most recent call last):
File "/Users/benedikt/phd-project/software/owl/dataloader.py", line 400, in loadImage
shape = (min(self.imageData[img].shape[0], 8192), min(self.imageData[img].shape[1], 8192))
File "/Users/benedikt/phd-project/software/owl/cache.py", line 24, in getitem
retval = self.dict.pop(key)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/collections.py", line 143, in pop
raise KeyError(key)
KeyError: 3
Traceback (most recent call last):
File "/Users/benedikt/phd-project/software/owl/view2d.py", line 774, in generateTexture
maskData = self.loaderThread.maskData[img]
File "/Users/benedikt/phd-project/software/owl/cache.py", line 24, in getitem
retval = self.dict.pop(key)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/collections.py", line 143, in pop
raise KeyError(key)
KeyError: 2

@daurer daurer mentioned this issue Sep 29, 2014
@daurer
Copy link
Collaborator Author

daurer commented Sep 29, 2014

It seems that when reloading the dataset or loading another one, for a short time, the ImgData and/or MaskData chache is empty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant