
Programming PyTorch for Deep Learning
Beschreibung
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
Weitere Details
Weitere Ausgaben
Andere Ausgaben

Inhalt
- Intro
- Copyright
- Table of Contents
- Preface
- Deep Learning in the World Today
- But What Is Deep Learning Exactly, and Do I Need a PhD to Understand It?
- PyTorch
- What About TensorFlow?
- Conventions Used in This Book
- Using Code Examples
- O'Reilly Online Learning
- How to Contact Us
- Acknowledgments
- Chapter 1. Getting Started with PyTorch
- Building a Custom Deep Learning Machine
- GPU
- CPU/Motherboard
- RAM
- Storage
- Deep Learning in the Cloud
- Google Colaboratory
- Cloud Providers
- Which Cloud Provider Should I Use?
- Using Jupyter Notebook
- Installing PyTorch from Scratch
- Download CUDA
- Anaconda
- Finally, PyTorch! (and Jupyter Notebook)
- Tensors
- Tensor Operations
- Tensor Broadcasting
- Conclusion
- Further Reading
- Chapter 2. Image Classification with PyTorch
- Our Classification Problem
- Traditional Challenges
- But First, Data
- PyTorch and Data Loaders
- Building a Training Dataset
- Building Validation and Test Datasets
- Finally, a Neural Network!
- Activation Functions
- Creating a Network
- Loss Functions
- Optimizing
- Training
- Making It Work on the GPU
- Putting It All Together
- Making Predictions
- Model Saving
- Conclusion
- Further Reading
- Chapter 3. Convolutional Neural Networks
- Our First Convolutional Model
- Convolutions
- Pooling
- Dropout
- History of CNN Architectures
- AlexNet
- Inception/GoogLeNet
- VGG
- ResNet
- Other Architectures Are Available!
- Using Pretrained Models in PyTorch
- Examining a Model's Structure
- BatchNorm
- Which Model Should You Use?
- One-Stop Shopping for Models: PyTorch Hub
- Conclusion
- Further Reading
- Chapter 4. Transfer Learning and Other Tricks
- Transfer Learning with ResNet
- Finding That Learning Rate
- Differential Learning Rates
- Data Augmentation
- Torchvision Transforms
- Color Spaces and Lambda Transforms
- Custom Transform Classes
- Start Small and Get Bigger!
- Ensembles
- Conclusion
- Further Reading
- Chapter 5. Text Classification
- Recurrent Neural Networks
- Long Short-Term Memory Networks
- Gated Recurrent Units
- biLSTM
- Embeddings
- torchtext
- Getting Our Data: Tweets!
- Defining Fields
- Building a Vocabulary
- Creating Our Model
- Updating the Training Loop
- Classifying Tweets
- Data Augmentation
- Random Insertion
- Random Deletion
- Random Swap
- Back Translation
- Augmentation and torchtext
- Transfer Learning?
- Conclusion
- Further Reading
- Chapter 6. A Journey into Sound
- Sound
- The ESC-50 Dataset
- Obtaining the Dataset
- Playing Audio in Jupyter
- Exploring ESC-50
- SoX and LibROSA
- torchaudio
- Building an ESC-50 Dataset
- A CNN Model for ESC-50
- This Frequency Is My Universe
- Mel Spectrograms
- A New Dataset
- A Wild ResNet Appears
- Finding a Learning Rate
- Audio Data Augmentation
- torchaudio Transforms
- SoX Effect Chains
- SpecAugment
- Further Experiments
- Conclusion
- Further Reading
- Chapter 7. Debugging PyTorch Models
- It's 3 a.m. What Is Your Data Doing?
- TensorBoard
- Installing TensorBoard
- Sending Data to TensorBoard
- PyTorch Hooks
- Plotting Mean and Standard Deviation
- Class Activation Mapping
- Flame Graphs
- Installing py-spy
- Reading Flame Graphs
- Fixing a Slow Transformation
- Debugging GPU Issues
- Checking Your GPU
- Gradient Checkpointing
- Conclusion
- Further Reading
- Chapter 8. PyTorch in Production
- Model Serving
- Building a Flask Service
- Setting Up the Model Parameters
- Building the Docker Container
- Local Versus Cloud Storage
- Logging and Telemetry
- Deploying on Kubernetes
- Setting Up on Google Kubernetes Engine
- Creating a k8s Cluster
- Scaling Services
- Updates and Cleaning Up
- TorchScript
- Tracing
- Scripting
- TorchScript Limitations
- Working with libTorch
- Obtaining libTorch and Hello World
- Importing a TorchScript Model
- Conclusion
- Further Reading
- Chapter 9. PyTorch in the Wild
- Data Augmentation: Mixed and Smoothed
- mixup
- Label Smoothing
- Computer, Enhance!
- Introduction to Super-Resolution
- An Introduction to GANs
- The Forger and the Critic
- Training a GAN
- The Dangers of Mode Collapse
- ESRGAN
- Further Adventures in Image Detection
- Object Detection
- Faster R-CNN and Mask R-CNN
- Adversarial Samples
- Black-Box Attacks
- Defending Against Adversarial Attacks
- More Than Meets the Eye: The Transformer Architecture
- Paying Attention
- Attention Is All You Need
- BERT
- FastBERT
- GPT-2
- Generating Text with GPT-2
- ULMFiT
- What to Use?
- Conclusion
- Further Reading
- Index
- About the Author
- Colophon
Systemvoraussetzungen
Dateiformat: ePUB
Kopierschutz: Adobe-DRM (Digital Rights Management)
Systemvoraussetzungen:
- Computer (Windows; MacOS X; Linux): Installieren Sie bereits vor dem Download die kostenlose Software Adobe Digital Editions (siehe E-Book Hilfe).
- Tablet/Smartphone (Android; iOS): Installieren Sie bereits vor dem Download die kostenlose App Adobe Digital Editions oder die App PocketBook (siehe E-Book Hilfe).
- E-Book-Reader: Bookeen, Kobo, Pocketbook, Sony, Tolino u.v.a.m. (nicht Kindle)
Das Dateiformat ePUB ist sehr gut für Romane und Sachbücher geeignet – also für „fließenden” Text ohne komplexes Layout. Bei E-Readern oder Smartphones passt sich der Zeilen- und Seitenumbruch automatisch den kleinen Displays an.
Mit Adobe-DRM wird hier ein „harter” Kopierschutz verwendet. Wenn die notwendigen Voraussetzungen nicht vorliegen, können Sie das E-Book leider nicht öffnen. Daher müssen Sie bereits vor dem Download Ihre Lese-Hardware vorbereiten.
Bitte beachten Sie: Wir empfehlen Ihnen unbedingt nach Installation der Lese-Software diese mit Ihrer persönlichen Adobe-ID zu autorisieren!
Weitere Informationen finden Sie in unserer E-Book Hilfe.