-
Notifications
You must be signed in to change notification settings - Fork 189
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
Get "ValueError: operands could not be broadcast together with shapes " bug when using fbp after ossart_tv #549
Comments
Which line is the bug in? |
img_fbp = tigre.algorithms.fbp(limited_projection,geo,limited_angle) |
@GreameLee I am quite sure the error message is much longer, and that it has more information :) Can you paste the entire error trace? |
when I run
I get this bug:
|
I can not reproduce the error. Can you show a minimal example using the TIGRE head data that also trhows an error, so I can copy paste it? |
|
I see. try modifying the line that errors to:
This may solve the issue. |
But after I modified the code as your comment, when I run single fbp algorithm I can see this bug: I guess there is the problem that you need delete gpuids after TIGRE using each CT reconstruction algorithm |
Hi @GreameLee, I am currently traveling but I'll fix this ASAP. I think it's just a mix of vectors/ints there, should be an easy fix, but can't do it until I have full access to a computer with a gpu. |
I just try to fix this by myself, it worked if I changed the
to
|
when I run:
it get the bug,
when I run:
it goes well
The text was updated successfully, but these errors were encountered: