uci-cbcl / NoduleNet

[MICCAI' 19] NoduleNet: Decoupled False Positive Reduction for Pulmonary Nodule Detection and Segmentation
Other
185 stars 57 forks source link

error in cvrt_annos_to_npy.py #40

Closed scwuchung closed 2 years ago

scwuchung commented 2 years ago

Traceback (most recent call last): File "/home/chung/Downloads/NoduleNet-master/utils/LIDC/cvrt_annos_to_npy.py", line 163, in annotation2masks(annos_dir, ctr_arr_save_dir) File "/home/chung/Downloads/NoduleNet-master/utils/LIDC/cvrt_annos_to_npy.py", line 46, in annotation2masks seriesuid, masks = xml2mask(f) File "/home/chung/Downloads/NoduleNet-master/utils/LIDC/cvrt_annos_to_npy.py", line 26, in xml2mask header, annos = parse(xml_file) File "/home/chung/Downloads/NoduleNet-master/utils/LIDC/pylung/annotation.py", line 67, in parse header = parse_header(root) File "/home/chung/Downloads/NoduleNet-master/utils/LIDC/pylung/annotation.py", line 99, in parse_header resp_hdr = root.findall('nih:ResponseHeader', NS)[0]

IndexError: list index out of range

scwuchung commented 2 years ago

the problem has been sovled

RonDen commented 2 years ago

Hi, I have encountered the same problem, would you like to share how do you solve this?

scwuchung commented 2 years ago

Hi, I have encountered the same problem, would you like to share how do you solve this? 不好意思,兄弟,我记不太清了,实在不行你试试用我的代码吧,我当时改了之后是能运行的。链接:https://pan.baidu.com/s/1vB2fZ59GE4RCNmLu-VHZNQ?pwd=vdvu 提取码:vdvu

Khushi-Shah-1 commented 2 years ago

Any solution?

SiyuanZhangGit commented 1 year ago

Hi, I have encountered the same problem, would you like to share how do you solve this? 不好意思,兄弟,我记不太清了,实在不行你试试用我的代码吧,我当时改了之后是能运行的。链接:https://pan.baidu.com/s/1vB2fZ59GE4RCNmLu-VHZNQ?pwd=vdvu 提取码:vdvu

可以给我发一份吗兄弟,729335790@qq.com