+
Skip to content

Instead of using the tissue box mask at level 0, keep it at thumbnail dimensions + drop sparse dependency #128

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

Merged
merged 8 commits into from
Aug 17, 2020

Conversation

alessiamarcolini
Copy link
Collaborator

@alessiamarcolini alessiamarcolini commented Aug 4, 2020

To fix a critical memory issue, instead of calculating the tissue box mask at level 0 (and then scaling it to the extraction level), we can keep it at thumbnail dimensions and then scale accordingly all the subsequent operations.

We are dropping also the sparse dependency (used to store the mask sparse array)

@alessiamarcolini
Copy link
Collaborator Author

The coverage report says:

src/histolab/exceptions.py 9 1 4 1 84.62% 5->8, 8

How to test lines from 5 to 8? @ernestoarbitrio any advice?

@alessiamarcolini alessiamarcolini mentioned this pull request Aug 13, 2020
@alessiamarcolini alessiamarcolini merged commit d0e9dbb into master Aug 17, 2020
@ernestoarbitrio ernestoarbitrio deleted the fix-box-mask branch September 3, 2020 20:11
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

Successfully merging this pull request may close these issues.

3 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载