deep-learning-with-pytorch / dlwpt-code

Code for the book Deep Learning with PyTorch by Eli Stevens, Luca Antiga, and Thomas Viehmann.

Home Page:https://www.manning.com/books/deep-learning-with-pytorch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

get'IndexError: list index out of range' when run the specific series_uid in p2ch10_explore_data.ipynb

whitewatercn opened this issue · comments

getting 'IndexError: list index out of range' when trying to run the code

series_uid = '1.3.6.1.4.1.14519.5.2.1.6279.6001.124154461048929153767743874565'

showCandidate(series_uid)

image

i found the file1.3.6.1.4.1.14519.5.2.1.6279.6001.124154461048929153767743874565.mhd only exist in dir seg-lungs-LUNA16
image

if i try another uid like 1.3.6.1.4.1.14519.5.2.1.6279.6001.888291896309937415860209787179 in the dir subset1, code works correctly
image

image