-
Notifications
You must be signed in to change notification settings - Fork 19
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
the error happended to Processing stage-03 #20
Comments
Hey, I'm currently on holiday. I'll reply to you on May 5-ish.
My initial guess is that your model is not continuous, but I'm not sure. If
you are allowed to send the model, then send it to me (my first name @
gmail.com), I'll take a look.
…On Thu, Apr 25, 2024, 19:14 tq-quan ***@***.***> wrote:
Hello, dear developer, when I ran airway stages 3 on my data, there was
always an error, do you konw how to solve it?
[18:52:15] Processing stage-03
[18:52:51] Output for Process 1/1 (Patient pat01)
STDOUT:
Model loaded with shape (462, 227, 385)
Average starting coordinate: [ 1. 176. 58.]
Closest starting coordinate to average: [1, 176, 58]
Writing distance to coords with shape: (514,)
distance_mask (462, 227, 385)
STDERR:
Traceback (most recent call last):
File "/opt/conda/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/opt/conda/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/opt/conda/lib/python3.8/site-packages/airway/tree_extraction/bfs_distance_method.py", line 154, in <module>
main()
File "/opt/conda/lib/python3.8/site-packages/airway/tree_extraction/bfs_distance_method.py", line 150, in main
distance_mask = get_distance_in_model_from_skeleton(visited)
File "/opt/conda/lib/python3.8/site-packages/airway/tree_extraction/bfs_distance_method.py", line 135, in get_distance_in_model_from_skeleton
if model[adj] == 1:
IndexError: index 462 is out of bounds for axis 0 with size 462
—
Reply to this email directly, view it on GitHub
<#20>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB7PESD3RBX4LCYUXUTLUE3Y7DQRZAVCNFSM6AAAAABGYVDE2CVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3DGMZSGE3DOOI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, dear developer, when I ran airway stages 3 on my data, there was always an error, do you konw how to solve it?
[18:52:15] Processing stage-03
[18:52:51] Output for Process 1/1 (Patient pat01)
STDOUT:
Model loaded with shape (462, 227, 385)
Average starting coordinate: [ 1. 176. 58.]
Closest starting coordinate to average: [1, 176, 58]
Writing distance to coords with shape: (514,)
distance_mask (462, 227, 385)
The text was updated successfully, but these errors were encountered: