deep-learning-with-pytorch / dlwpt-code

Code for the book Deep Learning with PyTorch by Eli Stevens, Luca Antiga, and Thomas Viehmann.
https://www.manning.com/books/deep-learning-with-pytorch
4.69k stars 1.98k forks source link

Unable to visualize the images in part2ch10 code (p2ch10_explore_data.ipynb notebook) #112

Open manojent opened 1 year ago

manojent commented 1 year ago

Hello,

After I run the following code in my Jupyter Notebook using VS code (Python version 3.10.9):

from p2ch10.vis import findPositiveSamples, showCandidate positiveSample_list = findPositiveSamples() series_uid = positiveSample_list[11][2] showCandidate(series_uid)

I am unable to visualize the images and get the fllowing output: Untitled

Can anyone please help me with where am I going wrong? Thanking in anticipation.