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
double free or corruption (fasttop) with tomopy.find_center #266
Comments
You use ‘ind=0’. Have you checked if this slice has ‘nan’s? Usually a slice at the middle, where the sample is expected to be is preferred. |
Hi, I have encountered the same issue while trying to use tomopy on examples from the tomobank. I have tried both command line and in-python options for any reconstruction, finding center functionalities. The scripts initialize normally, but fails with a similar error message as above. I'm copying an example of the terminal output for center finding:
I am using tomopy version 2.0 on a conda environment (python 3.9) in ESRF's rnice cluster (should be Debian 8.11 if I'm not mistaken). Thanks in advance! |
@mkutsal, there is no tomopy version 2. The latest is 1.10.4. Could you provide a minimal example that causes the error? |
@carterbox Hi, thanks for your reply. I have installed tomopy (and tomopy-cli) through conda about a week ago, so I assume it is the latest version that you've mentioned. To check it, I've typed the following to the CLI and got the following output:
About the example for the error, I should clarify my first comment above further: In CLI, I typed the following:
where, 'tomo_00056.h5' is an example dataset got from the tomobank webpage. Then, I got the following output on the terminal:
I get the same error message of "double free or corruption", when I tried to run the reconstruction in CLI with
or if I try to perform the reconstruction through a python interpreter. |
@mkutsal, I was not able to recreate your problem, so I need a bit more information. Could you share the output of the following command with the conda environment that you are using activated: conda info && conda env export It will show all the packages installed in your environment, so I can recreate it, and give a bit more info about your system. For example, is rNICE ARM/x86/POWERPC architecture? |
@carterbox Thanks again for your kind reply. The command in your comment gave the following output:
Sorry for spamming with this long quote. Please let me know if you need any further information. |
I was still not able to recreate the problem, but I didn't exactly recreate your environment because I have Finally, if none of those suggestions uncover the problem help, my final suggestion is to build TomoPy from source. |
I am trying to follow the examples described in the Tomopy doc, but when I try to run:
rot_center = tomopy.find_center(proj, theta, init=290, ind=0, tol=0.5)
I get:
What could be the reason?
The text was updated successfully, but these errors were encountered: