LUNA16-Lung-Nodule-Analysis-2016-Challenge icon indicating copy to clipboard operation
LUNA16-Lung-Nodule-Analysis-2016-Challenge copied to clipboard

about the dataprcessing

Open daihahaha opened this issue 4 years ago • 4 comments

陈老师,你好 我运行数据预处理部分的LUNA_node_extraction.py时,本来应该是生成classification文件夹的,但是我运行后没有结果。调试了一下代码发现line 93处的 if mini_df.shape[0] > 0: 这个判断都没有进去。尝试在此之前添加了一句print(mini_df.shape[0]),发现全部都是零。 多谢老师指教

daihahaha avatar Jul 01 '20 11:07 daihahaha

你好, 要确定所用csv数据和luna16图像数据是正确的。代码应该是没问题的。 谢谢

junqiangchen avatar Jul 03 '20 05:07 junqiangchen

好的 谢谢陈老师,我再仔细核对一下

发自我的iPhone

------------------ Original ------------------ From: junqiangchen <[email protected]> Date: Fri,Jul 3,2020 1:39 PM To: junqiangchen/LUNA16-Lung-Nodule-Analysis-2016-Challenge <[email protected]> Cc: daihahaha <[email protected]>, Author <[email protected]> Subject: Re: [junqiangchen/LUNA16-Lung-Nodule-Analysis-2016-Challenge] about the dataprcessing (#33)

你好, 要确定所用csv数据和luna16图像数据是正确的。代码应该是没问题的。 谢谢

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

daihahaha avatar Jul 03 '20 09:07 daihahaha

@daihahaha 应该是df_node[df_node["file"] == img_file]这句话有错吧,我改了一下: df_node[df_node["file"] == img_file[0:-4]] 你可以调试一下,看看df_node里面到底路径是啥,要不要加上mhd之类的

zhang-qiang-github avatar Sep 29 '20 14:09 zhang-qiang-github

for fcount, img_file in enumerate(tqdm(file_list_path)): 是这里的问题,原代码写的是file_list,里面带有了.mhd,所以匹配不上

Liuxinyu-ayu avatar Jul 14 '22 02:07 Liuxinyu-ayu