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.74k stars 2.01k forks source link

cannot import name 'old_build2dLungMask' from 'p2ch13.dsets' #67

Open JanOPedersen opened 3 years ago

JanOPedersen commented 3 years ago

I get this error when running the p2ch13_explore_data.ipynb notebook.

sfleisch commented 2 years ago

Old question but new answer:
Comment it out - it doesn't exist. And remove the attempt to plot using the function from p2ch13_explore_data.ipynb. Most of the part2 notebooks are missing code, or haven't been updated to reflect the current code. Very frustrating. In some cases one can figure out how to update the code. But not all.