- Page 1 and 2:
Eli StevensLuca AntigaThomas Viehma
- Page 3 and 4:
Deep Learningwith PyTorchELI STEVEN
- Page 5:
To my wife (this book would not hav
- Page 8 and 9:
viCONTENTS23Pretrained networks 162
- Page 10 and 11:
viiiCONTENTS675.4 Down along the gr
- Page 12 and 13:
xCONTENTS10119.5 Conclusion 2529.6
- Page 14 and 15:
xiiCONTENTS1413.3 Semantic segmenta
- Page 17 and 18:
forewordWhen we started the PyTorch
- Page 19 and 20:
prefaceAs kids in the 1980s, taking
- Page 21 and 22:
acknowledgmentsWe are deeply indebt
- Page 23 and 24:
about this bookThis book has the ai
- Page 25 and 26:
ABOUT THIS BOOKxxiiiPART 2In part 2
- Page 27 and 28:
ABOUT THIS BOOKxxvMany of the code
- Page 29 and 30:
about the authorsEli Stevens has sp
- Page 31:
Part 1Core PyTorchWelcome to the fi
- Page 34 and 35:
4 CHAPTER 1 Introducing deep learni
- Page 36 and 37:
6 CHAPTER 1 Introducing deep learni
- Page 38 and 39:
8 CHAPTER 1 Introducing deep learni
- Page 40 and 41:
10 CHAPTER 1 Introducing deep learn
- Page 42 and 43:
12 CHAPTER 1 Introducing deep learn
- Page 44 and 45:
14 CHAPTER 1 Introducing deep learn
- Page 46 and 47:
Pretrained networksThis chapter cov
- Page 48 and 49:
18 CHAPTER 2 Pretrained networksThe
- Page 50 and 51:
20 CHAPTER 2 Pretrained networkscom
- Page 52 and 53:
22 CHAPTER 2 Pretrained networksale
- Page 54 and 55:
24 CHAPTER 2 Pretrained networkswid
- Page 56 and 57:
26 CHAPTER 2 Pretrained networksA s
- Page 58 and 59:
28 CHAPTER 2 Pretrained networksWhi
- Page 60 and 61:
30 CHAPTER 2 Pretrained networksAs
- Page 62 and 63:
32 CHAPTER 2 Pretrained networksFig
- Page 64 and 65:
34 CHAPTER 2 Pretrained networks“
- Page 66 and 67:
36 CHAPTER 2 Pretrained networksOpt
- Page 68 and 69:
38 CHAPTER 2 Pretrained networks2.6
- Page 70 and 71:
40 CHAPTER 3 It starts with a tenso
- Page 72 and 73:
42 CHAPTER 3 It starts with a tenso
- Page 74 and 75:
44 CHAPTER 3 It starts with a tenso
- Page 76 and 77:
46 CHAPTER 3 It starts with a tenso
- Page 78 and 79:
48 CHAPTER 3 It starts with a tenso
- Page 80 and 81:
50 CHAPTER 3 It starts with a tenso
- Page 82 and 83:
52 CHAPTER 3 It starts with a tenso
- Page 84 and 85:
54 CHAPTER 3 It starts with a tenso
- Page 86 and 87:
56 CHAPTER 3 It starts with a tenso
- Page 88 and 89:
58 CHAPTER 3 It starts with a tenso
- Page 90 and 91:
60 CHAPTER 3 It starts with a tenso
- Page 92 and 93:
62 CHAPTER 3 It starts with a tenso
- Page 94 and 95:
64 CHAPTER 3 It starts with a tenso
- Page 96 and 97:
66 CHAPTER 3 It starts with a tenso
- Page 98 and 99:
68 CHAPTER 3 It starts with a tenso
- Page 100 and 101:
Real-world datarepresentationusing
- Page 102 and 103:
72 CHAPTER 4 Real-world data repres
- Page 104 and 105:
74 CHAPTER 4 Real-world data repres
- Page 106 and 107:
76 CHAPTER 4 Real-world data repres
- Page 108 and 109:
78 CHAPTER 4 Real-world data repres
- Page 110 and 111:
80 CHAPTER 4 Real-world data repres
- Page 112 and 113:
82 CHAPTER 4 Real-world data repres
- Page 114 and 115:
84 CHAPTER 4 Real-world data repres
- Page 116 and 117:
86 CHAPTER 4 Real-world data repres
- Page 118 and 119:
88 CHAPTER 4 Real-world data repres
- Page 120 and 121:
90 CHAPTER 4 Real-world data repres
- Page 122 and 123:
92 CHAPTER 4 Real-world data repres
- Page 124 and 125:
94 CHAPTER 4 Real-world data repres
- Page 126 and 127:
96 CHAPTER 4 Real-world data repres
- Page 128 and 129:
98 CHAPTER 4 Real-world data repres
- Page 130 and 131:
100 CHAPTER 4 Real-world data repre
- Page 132 and 133:
102 CHAPTER 4 Real-world data repre
- Page 134 and 135:
104 CHAPTER 5 The mechanics of lear
- Page 136 and 137:
106 CHAPTER 5 The mechanics of lear
- Page 138 and 139:
108 CHAPTER 5 The mechanics of lear
- Page 140 and 141:
110 CHAPTER 5 The mechanics of lear
- Page 142 and 143:
112 CHAPTER 5 The mechanics of lear
- Page 144 and 145:
114 CHAPTER 5 The mechanics of lear
- Page 146 and 147:
116 CHAPTER 5 The mechanics of lear
- Page 148 and 149:
118 CHAPTER 5 The mechanics of lear
- Page 150 and 151:
120 CHAPTER 5 The mechanics of lear
- Page 152 and 153:
122 CHAPTER 5 The mechanics of lear
- Page 154 and 155:
124 CHAPTER 5 The mechanics of lear
- Page 156 and 157:
126 CHAPTER 5 The mechanics of lear
- Page 158 and 159:
128 CHAPTER 5 The mechanics of lear
- Page 160 and 161:
130 CHAPTER 5 The mechanics of lear
- Page 162 and 163:
132 CHAPTER 5 The mechanics of lear
- Page 164 and 165:
134 CHAPTER 5 The mechanics of lear
- Page 166 and 167:
136 CHAPTER 5 The mechanics of lear
- Page 168 and 169:
138 CHAPTER 5 The mechanics of lear
- Page 170 and 171:
140 CHAPTER 5 The mechanics of lear
- Page 172 and 173:
142 CHAPTER 6 Using a neural networ
- Page 174 and 175:
144 CHAPTER 6 Using a neural networ
- Page 176 and 177:
146 CHAPTER 6 Using a neural networ
- Page 178 and 179:
148 CHAPTER 6 Using a neural networ
- Page 180 and 181:
150 CHAPTER 6 Using a neural networ
- Page 182 and 183:
152 CHAPTER 6 Using a neural networ
- Page 184 and 185:
154 CHAPTER 6 Using a neural networ
- Page 186 and 187:
156 CHAPTER 6 Using a neural networ
- Page 188 and 189:
158 CHAPTER 6 Using a neural networ
- Page 190 and 191:
160 CHAPTER 6 Using a neural networ
- Page 192 and 193:
162 CHAPTER 6 Using a neural networ
- Page 194 and 195:
Telling birdsfrom airplanes:Learnin
- Page 196 and 197:
166 CHAPTER 7 Telling birds from ai
- Page 198 and 199:
168 CHAPTER 7 Telling birds from ai
- Page 200 and 201:
170 CHAPTER 7 Telling birds from ai
- Page 202 and 203:
172 CHAPTER 7 Telling birds from ai
- Page 204 and 205:
174 CHAPTER 7 Telling birds from ai
- Page 206 and 207:
176 CHAPTER 7 Telling birds from ai
- Page 208 and 209:
178 CHAPTER 7 Telling birds from ai
- Page 210 and 211:
180 CHAPTER 7 Telling birds from ai
- Page 212 and 213:
182 CHAPTER 7 Telling birds from ai
- Page 214 and 215:
184 CHAPTER 7 Telling birds from ai
- Page 216 and 217:
186 CHAPTER 7 Telling birds from ai
- Page 218 and 219:
188 CHAPTER 7 Telling birds from ai
- Page 220 and 221:
190 CHAPTER 7 Telling birds from ai
- Page 222 and 223:
192 CHAPTER 7 Telling birds from ai
- Page 224 and 225:
194 CHAPTER 8 Using convolutions to
- Page 226 and 227:
196 CHAPTER 8 Using convolutions to
- Page 228 and 229:
198 CHAPTER 8 Using convolutions to
- Page 230 and 231:
200 CHAPTER 8 Using convolutions to
- Page 232 and 233:
202 CHAPTER 8 Using convolutions to
- Page 234 and 235:
204 CHAPTER 8 Using convolutions to
- Page 236 and 237:
206 CHAPTER 8 Using convolutions to
- Page 238 and 239:
208 CHAPTER 8 Using convolutions to
- Page 240 and 241:
210 CHAPTER 8 Using convolutions to
- Page 242 and 243:
212 CHAPTER 8 Using convolutions to
- Page 244 and 245:
214 CHAPTER 8 Using convolutions to
- Page 246 and 247:
216 CHAPTER 8 Using convolutions to
- Page 248 and 249:
218 CHAPTER 8 Using convolutions to
- Page 250 and 251:
220 CHAPTER 8 Using convolutions to
- Page 252 and 253:
222 CHAPTER 8 Using convolutions to
- Page 254 and 255:
224 CHAPTER 8 Using convolutions to
- Page 256 and 257:
226 CHAPTER 8 Using convolutions to
- Page 258 and 259:
228 CHAPTER 8 Using convolutions to
- Page 260 and 261:
230 CHAPTER 8 Using convolutions to
- Page 263:
Part 2Learning from imagesin the re
- Page 266 and 267:
236 CHAPTER 9 Using PyTorch to figh
- Page 268 and 269:
238 CHAPTER 9 Using PyTorch to figh
- Page 270 and 271:
240 CHAPTER 9 Using PyTorch to figh
- Page 272 and 273:
242 CHAPTER 9 Using PyTorch to figh
- Page 274 and 275:
244 CHAPTER 9 Using PyTorch to figh
- Page 276 and 277:
246 CHAPTER 9 Using PyTorch to figh
- Page 278 and 279:
248 CHAPTER 9 Using PyTorch to figh
- Page 280 and 281:
250 CHAPTER 9 Using PyTorch to figh
- Page 282 and 283:
252 CHAPTER 9 Using PyTorch to figh
- Page 284 and 285:
Combining data sourcesinto a unifie
- Page 286 and 287:
256 CHAPTER 10 Combining data sourc
- Page 288 and 289:
258 CHAPTER 10 Combining data sourc
- Page 290 and 291:
260 CHAPTER 10 Combining data sourc
- Page 292 and 293:
262 CHAPTER 10 Combining data sourc
- Page 294 and 295:
264 CHAPTER 10 Combining data sourc
- Page 296 and 297:
266 CHAPTER 10 Combining data sourc
- Page 298 and 299:
268 CHAPTER 10 Combining data sourc
- Page 300 and 301:
270 CHAPTER 10 Combining data sourc
- Page 302 and 303:
272 CHAPTER 10 Combining data sourc
- Page 304 and 305:
274 CHAPTER 10 Combining data sourc
- Page 306 and 307:
276 CHAPTER 10 Combining data sourc
- Page 308 and 309:
278 CHAPTER 10 Combining data sourc
- Page 310 and 311:
280 CHAPTER 11 Training a classific
- Page 312 and 313:
282 CHAPTER 11 Training a classific
- Page 314 and 315:
284 CHAPTER 11 Training a classific
- Page 316 and 317:
286 CHAPTER 11 Training a classific
- Page 318 and 319:
288 CHAPTER 11 Training a classific
- Page 320 and 321:
290 CHAPTER 11 Training a classific
- Page 322 and 323:
292 CHAPTER 11 Training a classific
- Page 324 and 325:
294 CHAPTER 11 Training a classific
- Page 326 and 327:
296 CHAPTER 11 Training a classific
- Page 328 and 329:
298 CHAPTER 11 Training a classific
- Page 330 and 331:
300 CHAPTER 11 Training a classific
- Page 332 and 333:
302 CHAPTER 11 Training a classific
- Page 334 and 335:
304 CHAPTER 11 Training a classific
- Page 336 and 337:
306 CHAPTER 11 Training a classific
- Page 338 and 339:
308 CHAPTER 11 Training a classific
- Page 340 and 341:
310 CHAPTER 11 Training a classific
- Page 342 and 343:
312 CHAPTER 11 Training a classific
- Page 344 and 345:
314 CHAPTER 11 Training a classific
- Page 346 and 347:
316 CHAPTER 11 Training a classific
- Page 348 and 349: Improving trainingwith metrics anda
- Page 350 and 351: 320 CHAPTER 12 Improving training w
- Page 352 and 353: 322 CHAPTER 12 Improving training w
- Page 354 and 355: 324 CHAPTER 12 Improving training w
- Page 356 and 357: 326 CHAPTER 12 Improving training w
- Page 358 and 359: 328 CHAPTER 12 Improving training w
- Page 360 and 361: 330 CHAPTER 12 Improving training w
- Page 362 and 363: 332 CHAPTER 12 Improving training w
- Page 364 and 365: 334 CHAPTER 12 Improving training w
- Page 366 and 367: 336 CHAPTER 12 Improving training w
- Page 368 and 369: 338 CHAPTER 12 Improving training w
- Page 370 and 371: 340 CHAPTER 12 Improving training w
- Page 372 and 373: 342 CHAPTER 12 Improving training w
- Page 374 and 375: 344 CHAPTER 12 Improving training w
- Page 376 and 377: 346 CHAPTER 12 Improving training w
- Page 378 and 379: 348 CHAPTER 12 Improving training w
- Page 380 and 381: 350 CHAPTER 12 Improving training w
- Page 382 and 383: 352 CHAPTER 12 Improving training w
- Page 384 and 385: 354 CHAPTER 12 Improving training w
- Page 386 and 387: 356 CHAPTER 12 Improving training w
- Page 388 and 389: 358 CHAPTER 13 Using segmentation t
- Page 390 and 391: 360 CHAPTER 13 Using segmentation t
- Page 392 and 393: 362 CHAPTER 13 Using segmentation t
- Page 394 and 395: 364 CHAPTER 13 Using segmentation t
- Page 396 and 397: 366 CHAPTER 13 Using segmentation t
- Page 400 and 401: 370 CHAPTER 13 Using segmentation t
- Page 402 and 403: 372 CHAPTER 13 Using segmentation t
- Page 404 and 405: 374 CHAPTER 13 Using segmentation t
- Page 406 and 407: 376 CHAPTER 13 Using segmentation t
- Page 408 and 409: 378 CHAPTER 13 Using segmentation t
- Page 410 and 411: 380 CHAPTER 13 Using segmentation t
- Page 412 and 413: 382 CHAPTER 13 Using segmentation t
- Page 414 and 415: 384 CHAPTER 13 Using segmentation t
- Page 416 and 417: 386 CHAPTER 13 Using segmentation t
- Page 418 and 419: 388 CHAPTER 13 Using segmentation t
- Page 420 and 421: 390 CHAPTER 13 Using segmentation t
- Page 422 and 423: 392 CHAPTER 13 Using segmentation t
- Page 424 and 425: 394 CHAPTER 13 Using segmentation t
- Page 426 and 427: 396 CHAPTER 13 Using segmentation t
- Page 428 and 429: 398 CHAPTER 13 Using segmentation t
- Page 430 and 431: 400 CHAPTER 13 Using segmentation t
- Page 432 and 433: 402 CHAPTER 13 Using segmentation t
- Page 434 and 435: End-to-endnodule analysis,and where
- Page 436 and 437: 406 CHAPTER 14 End-to-end nodule an
- Page 438 and 439: 408 CHAPTER 14 End-to-end nodule an
- Page 440 and 441: 410 CHAPTER 14 End-to-end nodule an
- Page 442 and 443: 412 CHAPTER 14 End-to-end nodule an
- Page 444 and 445: 414 CHAPTER 14 End-to-end nodule an
- Page 446 and 447: 416 CHAPTER 14 End-to-end nodule an
- Page 448 and 449:
418 CHAPTER 14 End-to-end nodule an
- Page 450 and 451:
420 CHAPTER 14 End-to-end nodule an
- Page 452 and 453:
422 CHAPTER 14 End-to-end nodule an
- Page 454 and 455:
424 CHAPTER 14 End-to-end nodule an
- Page 456 and 457:
426 CHAPTER 14 End-to-end nodule an
- Page 458 and 459:
428 CHAPTER 14 End-to-end nodule an
- Page 460 and 461:
430 CHAPTER 14 End-to-end nodule an
- Page 462 and 463:
432 CHAPTER 14 End-to-end nodule an
- Page 464 and 465:
434 CHAPTER 14 End-to-end nodule an
- Page 466 and 467:
436 CHAPTER 14 End-to-end nodule an
- Page 468 and 469:
438 CHAPTER 14 End-to-end nodule an
- Page 470 and 471:
440 CHAPTER 14 End-to-end nodule an
- Page 472 and 473:
442 CHAPTER 14 End-to-end nodule an
- Page 475 and 476:
Deploying to productionThis chapter
- Page 477 and 478:
Serving PyTorch models447The API ca
- Page 479 and 480:
Serving PyTorch models449When using
- Page 481 and 482:
Serving PyTorch models451IMPLEMENTA
- Page 483 and 484:
Serving PyTorch models453Listing 15
- Page 485 and 486:
Exporting models45515.2 Exporting m
- Page 487 and 488:
Exporting models457But then all we
- Page 489 and 490:
Interacting with the PyTorch JIT459
- Page 491 and 492:
Interacting with the PyTorch JIT461
- Page 493 and 494:
Interacting with the PyTorch JIT463
- Page 495 and 496:
LibTorch: PyTorch in C++465Listing
- Page 497 and 498:
LibTorch: PyTorch in C++467Our tens
- Page 499 and 500:
LibTorch: PyTorch in C++469We’ll
- Page 501 and 502:
LibTorch: PyTorch in C++471...model
- Page 503 and 504:
Going mobile473Then, we need to inc
- Page 505 and 506:
Going mobile475and full of copying
- Page 507:
Summary47715.7 ConclusionThis concl
- Page 510 and 511:
480INDEXbool tensors 51Boolean inde
- Page 512 and 513:
482INDEXdata loading (continued)con
- Page 514 and 515:
484INDEXimage recognition (continue
- Page 516 and 517:
486INDEXneural networks (continued)
- Page 518 and 519:
488INDEXResNetGenerator module470-4
- Page 520 and 521:
490INDEXVval_loss tensor 138val_neg
- Page 522:
PYTHON/DATA SCIENCEDeep Learning wi