20.03.2021 Views

Deep-Learning-with-PyTorch

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

250 CHAPTER 9 Using PyTorch to fight cancer

The key part is this: the cancers that we are trying to detect will always be nodules,

either suspended in the very non-dense tissue of the lung or attached to the lung wall.

That means we can limit our classifier to only nodules, rather than have it examine all

tissue. Being able to restrict the scope of expected inputs will help our classifier learn

the task at hand.

This is another example of how the underlying deep learning techniques we’ll use

are universal, but they can’t be applied blindly. 5 We’ll need to understand the field

we’re working in to make choices that will serve us well.

In figure 9.8, we can see a stereotypical example of a malignant nodule. The smallest

nodules we’ll be concerned with are only a few millimeters across, though the one in

figure 9.8 is larger. As we discussed earlier in the chapter, this makes the smallest nodules

approximately a million times smaller than the CT scan as a whole. More than half

of the nodules detected in patients are not malignant. 6

0

index 522

100

200

300

400

125

100

50

75

25

0

0

row 332

100 200 300 400 500

125

100

50

75

25

0

0

col 174

100 200 300 400 500

500

0 100 200 300 400 500

0

index 93

10

20

30

20

15

10

5

row 332

20

15

10

5

col 174

40

0

0

10 20 30 40

0

0

10 20 30 40

0 10 20 30 40

Figure 9.8

A CT scan with a malignant nodule displaying a visual discrepancy from other nodules

5 Not if we want decent results, at least.

6 According to the National Cancer Institute Dictionary of Cancer Terms: http://mng.bz/jgBP.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!