-
Notifications
You must be signed in to change notification settings - Fork 170
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
ANTsPy crashes Python when registering two images #678
Comments
Out of memory? Try increasing RAM available to docker? |
Are the other images that work successfully as large as these? 1024x1024x175 is quite large.
I suspect it is converging at different numbers of iterations, then running out of memory. Before each stage, it will print
If this is consistently printed twice, it's probably that it's converging differently due to random sampling and then trying and failing to start the next level. |
Happy to investigate further if reproducible examples are available |
Describe the bug
Python crashes without any error when calling
ants.registration
to rigidly register one MRI image to another. This only occurs with two specific images in my dataset.To reproduce
Expected behavior
The registration to happen successfully, or at least that a helpful error message is provided.
Screenshots
Output from the code provided under To reproduce
ANTsPy installation (please complete the following information):
Additional context
The registration only seems to fail for a particular combination of images in my dataset, so I cannot reproduce the error with any publicly available data, unfortunately. It also seems to fail after a different number of iterations every time I run the provided code.
The text was updated successfully, but these errors were encountered: