-
Notifications
You must be signed in to change notification settings - Fork 1
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
关于find_start_end_nodes(label_pc, pair_to_check, G_nx)这个函数的一些问题 #3
Comments
头颈血管解剖连接关系存在个体差异,是存在这样的连接关系的。
…----- 原始邮件 -----
发件人: "x-jeff" ***@***.***>
收件人: "PRESENT-Y/TaG-Net" ***@***.***>
抄送: "Subscribed" ***@***.***>
发送时间: 星期四, 2024年 7 月 04日 上午 1:58:18
主题: [PRESENT-Y/TaG-Net] 关于find_start_end_nodes(label_pc, pair_to_check, G_nx)这个函数的一些问题 (Issue #3)
作者,您好,
最近在研究TaG-Net血管补全部分的代码,在看到find_start_end_nodes这个函数时,发现有如下问题:
```python
if label in SA_label:
if len(list(set(pair_to_check).intersection(set([12, 14]))))==2:
print('{} has 12 and 14'.format(patient))
if [1,12] in label_pairs:
flag_1214 = 1
break
else:
idx_label_one = np.nonzero(label_pc == 1)
idx_label_one = list(idx_label_one[0])
label_one_one_list = [idx for idx in idx_label_one if degree_list[int(idx)] == 1]
degree_one_list = [idx for idx in (degree_one_list + label_one_one_list)]
```
其中,patient和label_pairs两个变量并未定义,如果代码走到这个if分支则会报错。
此外,还有一个问题,为什么会有[1, 12]?BCT和L-VA之间会有连接吗?
希望作者可以帮助解答困惑,非常感谢~
--
Reply to this email directly or view it on GitHub:
#3
You are receiving this because you are subscribed to this thread.
Message ID: ***@***.***>
|
感谢回答。 |
感谢提出哇,这部分属于后处理的代码了,可以参考一下。
…----- 原始邮件 -----
发件人: "x-jeff" ***@***.***>
收件人: "PRESENT-Y/TaG-Net" ***@***.***>
抄送: "Lin" ***@***.***>, "Comment" ***@***.***>
发送时间: 星期一, 2024年 7 月 08日 下午 8:52:41
主题: Re: [PRESENT-Y/TaG-Net] 关于find_start_end_nodes(label_pc, pair_to_check, G_nx)这个函数的一些问题 (Issue #3)
感谢回答。
那这个分支的代码中,patient和label_pairs两个变量并未定义,这个问题后续会解决吗?多谢~
--
Reply to this email directly or view it on GitHub:
#3 (comment)
You are receiving this because you commented.
Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
作者,您好,
最近在研究TaG-Net血管补全部分的代码,在看到find_start_end_nodes这个函数时,发现有如下问题:
其中,patient和label_pairs两个变量并未定义,如果代码走到这个if分支则会报错。
此外,还有一个问题,为什么会有[1, 12]?BCT和L-VA之间会有连接吗?
希望作者可以帮助解答困惑,非常感谢~
The text was updated successfully, but these errors were encountered: