求助:Kaggle Notebook提交后无法评分,报Notebook Threw Exception异常
求助:Kaggle提交Notebook出现「Notebook Threw Exception」无法评分问题
- 我在Kaggle论坛提问后未获解答,现在此求助。
- 我耗时排查Kaggle Notebook提交后运行成功却无法评分的问题,始终出现「Notebook Threw Exception」错误。
- 已查阅该错误的排查指南,也参考了其他用户的Notebook,但问题仍未解决。
- 我知晓隐藏测试集大于公开测试集,且已做相应处理;对比提交CSV与sample_submission,格式完全一致。
- 我已定位到以下代码段抛出异常,但仍不明原因:
test_path = "/kaggle/input/rsna-breast-cancer-detection/test_images/" all_paths = [] test_df = pd.read_csv("/kaggle/input/rsna-breast-cancer-detection/test.csv") for k in range(len(test_df)): row = test_df.iloc[k, :] all_paths.append(test_path + str(row.patient_id) + "/" + str(row.image_id) + ".dcm") test_df["path"] = all_paths print(test_df.head) X_test = [] for i in range(test_df.shape[0]): path = test_df['path'].iloc[i] xray = read_xray(path, 256) X_test.append(xray)
内容的提问来源于stack exchange,提问作者Conweezy
相关产品推荐
相关产品推荐

