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

the error happended to Processing stage-03 #20

Open
tq-quan opened this issue Apr 25, 2024 · 1 comment
Open

the error happended to Processing stage-03 #20

tq-quan opened this issue Apr 25, 2024 · 1 comment

Comments

@tq-quan
Copy link

tq-quan commented Apr 25, 2024

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
@tq-quan tq-quan changed the title the error ha[[end to Processing stage-03 the error happended to Processing stage-03 Apr 25, 2024
@LiquidFun
Copy link
Owner

LiquidFun commented Apr 25, 2024 via email

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

2 participants