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

out of memory ConvertSegToBoundingBoxCoordinates #117

Open
MancaZerovnikMekuc opened this issue Oct 15, 2020 · 0 comments
Open

out of memory ConvertSegToBoundingBoxCoordinates #117

MancaZerovnikMekuc opened this issue Oct 15, 2020 · 0 comments

Comments

@MancaZerovnikMekuc
Copy link

Hey,

I am trying to run MASKRCNN inference on my data, but the process crashes in this line in utils.py:
rois = np.array([(clusters == ii) * 1 for ii in range(1, n_cands + 1)]) # separate clusters and concat
More specifically the process is killed, because of too high memory consumption.

It's because I have a large number of instances per one test volume (around 400) and volumes of sizes 256^3 so the previous line tries to allocate (256^3)*400 booleans.
Do you have any suggestions on how to solve this problem?

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