Reference works
Modern computer vision with PyTorch : A practical roadmap from deep learning fundamentals to advanced applications and Generative AI
- Record ID
- 90634
- Author
- Ayyadevara, V Kishore; Reddy, Yeshwanth
- Publisher
- Birmingham : Packt Publishing, 2024
- ISBN
- 9781803231334
- Dewey classification
- 006.37
- Language
- English
Availability by location
| Location | Copies | Online request |
|---|---|---|
| Thư viện Sư Vạn Hạnh | 2 of 2 on shelf | Yes |
| Thư viện Hóc Môn | 1 of 1 on shelf | Yes |
Catalogue record
| Field | Value |
|---|---|
| 001Control number | 90634 |
| 005Date and time of latest transaction | 27 Aug 2026, 15:17 |
| 008Fixed-length data elements | 131017 |
| 020International Standard Book Number (ISBN) | 9781803231334 |
| 040Cataloging source | HUFLITLIB |
| 041Language code | eng |
| 044Country of publishing/producing entity code | enk |
| 082Dewey Decimal call number | 006.37 1A112Y |
| 100Main entry – personal name | Ayyadevara, V Kishore |
| 245Title statement | Modern computer vision with PyTorch : A practical roadmap from deep learning fundamentals to advanced applications and Generative AI / V Kishore Ayyadevara, Yeshwanth Reddy |
| 250Edition statement | 2nd |
| 260Publication, distribution, etc. (imprint) | Birmingham : Packt Publishing, 2024 |
| 300Physical description | 711trang : minh họa ; 20x23cm |
| 650Subject added entry – topical term |
|
| 700Added entry – personal name | Reddy, Yeshwanth |
| 852Location |
|
| 999Collection | Reference works |
- Section 1: Fundamentals of Deep Learning for Computer Vision1
- Chapter 1: Artificial Neural Network Fundamentals3
- Comparing AI and traditional machine learning5
- Free Benefits with Your Book5
- Learning about the ANN building blocks7
- Implementing feedforward propagation9
- Calculating the hidden layer unit values10
- Applying the activation function12
- Calculating the output layer values14
- Calculating loss values14
- Calculating loss during continuous variable prediction15
- Calculating loss during categorical variable prediction15
- Feedforward propagation in code16
- Activation functions in code18
- Loss functions in code19
- Implementing backpropagation20
- Gradient descent in code21
- Implementing backpropagation using the chain rule24
- Putting feedforward propagation and backpropagation together27
- Understanding the impact of the learning rate31
- Learning rate of 0.0135
- Learning rate of 0.136
- Learning rate of 137
- Summarizing the training process of a neural network38
- Summary39
- Questions39
- Chapter 2: PyTorch Fundamentals41
- Installing PyTorch41
- PyTorch tensors43
- Initializing a tensor44
- Operations on tensors45
- Auto gradients of tensor objects49
- Advantages of PyTorch’s tensors over NumPy’s ndarrays50
- Building a neural network using PyTorch52
- Dataset, DataLoader, and batch size59
- Predicting on new data points62
- Implementing a custom loss function63
- Fetching the values of intermediate layers65
- Using a sequential method to build a neural network66
- Saving and loading a PyTorch model69
- Using state_dict70
- Saving70
- Loading70
- Summary71
- Questions71
- Chapter 3: Building a Deep Neural Network with PyTorch73
- Representing an image74
- Converting images into structured arrays and scalars75
- Creating a structured array for colored images77
- Why leverage neural networks for image analysis?79
- Preparing our data for image classification81
- Training a neural network83
- Scaling a dataset to improve model accuracy88
- Understanding the impact of varying the batch size90
- Batch size of 3291
- Batch size of 10,00094
- Understanding the impact of varying the loss optimizer95
- Building a deeper neural network98
- Understanding the impact of batch normalization101
- Very small input values without batch normalization102
- Very small input values with batch normalization105
- The concept of overfitting107
- Impact of adding dropout107
- Impact of regularization109
- L1 regularization110
- L2 regularization111
- Summary113
- Questions113
- Section 2: Object Classification and Detection115
- Chapter 4: Introducing Convolutional Neural Networks117
- The problem with traditional deep neural networks118
- Building blocks of a CNN121
- Convolution121
- Filters123
- Strides and padding124
- Strides124
- Padding125
- Pooling125
- Putting them all together126
- How convolution and pooling help in image translation127
- Implementing a CNN128
- Classifying images using deep CNNs132
- Visualizing the outcome of feature learning137
- Building a CNN for classifying real-world images149
- Impact on the number of images used for training158
- Summary160
- Questions160
- Chapter 5: Transfer Learning for Image Classification163
- Introducing transfer learning164
- Understanding the VGG16 architecture165
- Implementing VGG16167
- Understanding the ResNet architecture174
- Implementing ResNet18176
- Implementing facial keypoint detection178
- 2D and 3D facial keypoint detection186
- Implementing age estimation and gender classification189
- Introducing the torch_snippets library199
- Summary205
- Questions205
- Chapter 6: Practical Aspects of Image Classification207
- Generating CAMs207
- Understanding the impact of data augmentation and batch normalization217
- Coding up road sign detection218
- Practical aspects to take care of during model implementation223
- Imbalanced data223
- The size of the object within an image224
- The difference between training and validation data224
- The number of nodes in the flatten layer225
- Image size225
- OpenCV utilities226
- Summary226
- Summary226
- Chapter 7: Basics of Object Detection227
- Introducing object detection228
- Creating a bounding-box ground truth for training229
- Understanding region proposals231
- Leveraging SelectiveSearch to generate region proposals232
- Implementing SelectiveSearch to generate region proposals233
- Understanding IoU236
- Non-max suppression238
- Mean average precision240
- Training R-CNN-based custom object detectors240
- Working details of R-CNN240
- Implementing R-CNN for object detection on a custom dataset242
- Downloading the dataset243
- Preparing the dataset243
- Fetching region proposals and the ground truth of offset246
- Creating the training data251
- Predicting on a new image255
- Training Fast R-CNN-based custom object detectors258
- Working details of Fast R-CNN258
- Implementing Fast R-CNN for object detection on a custom dataset259
- Summary267
- Questions268
- Chapter 8: Advanced Object Detection269
- Components of modern object detection algorithms270
- Anchor boxes270
- Region proposal network272
- Classification and regression273
- Training Faster R-CNN on a custom dataset275
- Working details of YOLO283
- Training YOLO on a custom dataset291
- Installing Darknet292
- Setting up the dataset format293
- Configuring the architecture294
- Training and testing the model295
- Working details of SSD296
- Components in SSD code300
- SSD300300
- MultiBoxLoss300
- Training SSD on a custom dataset301
- Summary306
- Questions307
- Chapter 9: Image Segmentation309
- Exploring the U-Net architecture310
- Performing upscaling312
- Implementing semantic segmentation using U-Net314
- Exploring the Mask R-CNN architecture321
- RoI Align323
- Mask head326
- Implementing instance segmentation using Mask R-CNN327
- Predicting multiple instances of multiple classes340
- Summary344
- Questions344
- Chapter 10: Applications of Object Detection and Segmentation347
- Multi-object instance segmentation348
- Fetching and preparing data348
- Training the model for instance segmentation353
- Making inferences on a new image356
- Human pose detection358
- Crowd counting360
- Implementing crowd counting363
- Image colorization370
- 3D object detection with point clouds376
- Theory376
- Input encoding376
- Output encoding379
- Training the YOLO model for 3D object detection381
- Data format381
- Data inspection383
- Training384
- Testing384
- Action recognition from video385
- Identifying an action in a given video386
- Training a recognizer on a custom dataset389
- Summary392
- Questions392
- Section 3: Image Manipulation393
- Chapter 11: Autoencoders and Image Manipulation395
- Understanding autoencoders396
- How autoencoders work396
- Implementing vanilla autoencoders397
- Implementing convolutional autoencoders404
- Grouping similar images using t-SNE408
- Understanding variational autoencoders410
- The need for VAEs410
- How VAEs work412
- KL divergence412
- Building a VAE413
- Performing an adversarial attack on images418
- Understanding neural style transfer422
- How neural style transfer works422
- Performing neural style transfer423
- Understanding deepfakes429
- How deepfakes work429
- Generating a deepfake431
- Summary440
- Questions441
- Chapter 12: Image Generation Using GANs443
- Introducing GANs443
- Using GANs to generate handwritten digits445
- Using DCGANs to generate face images452
- Implementing conditional GANs463
- Summary474
- Questions474
- Chapter 13: Advanced GANs to Manipulate Images475
- Leveraging the Pix2Pix GAN476
- Leveraging CycleGAN .487
- How CycleGAN works488
- Implementing CycleGAN489
- Leveraging StyleGAN on custom images498
- The evolution of StyleGAN498
- Implementing StyleGAN500
- Introducing SRGAN508
- Architecture508
- Coding SRGAN509
- Summary512
- Questions512
- Combining Computer Vision with Other Techniques513
- Chapter 14: Combining Computer Vision and Reinforcement Learning515
- Learning the basics of reinforcement learning516
- Calculating the state value517
- Calculating the state-action value518
- Implementing Q-learning519
- Defining the Q-value519
- Understanding the Gym environment520
- Building a Q-table522
- Leveraging exploration-exploitation524
- Implementing deep Q-learning527
- Understanding the CartPole environment527
- Performing CartPole balancing529
- Implementing deep Q-learning with the fixed targets model535
- Understanding the use case536
- Coding up an agent to play Pong537
- Implementing an agent to perform autonomous driving544
- Setting up the CARLA environment544
- Installing the CARLA binaries545
- Installing the CARLA Gym environment546
- Training a self-driving agent547
- Creating model.py548
- Creating actor.py550
- Training a DQN with fixed targets554
- Summary558
- Questions558
- Chapter 15: Combining Computer Vision and NLP Techniques559
- Introducing transformers560
- Basics of transformers560
- Encoder block561
- Decoder block565
- How ViTs work566
- Implementing ViTs566
- Transcribing handwritten images571
- Handwriting transcription workflow571
- Handwriting transcription in code572
- Document layout analysis578
- Understanding LayoutLM579
- Implementing LayoutLMv3581
- Visual question answering585
- Introducing BLIP2586
- Representation learning587
- Generative learning588
- Implementing BLIP2589
- Summary591
- Questions591
- Chapter 16: Foundation Models in Computer Vision593
- Introducing CLIP594
- How CLIP works594
- Building a CLIP model from scratch595
- Leveraging OpenAI CLIP605
- Introducing SAM607
- How SAM works607
- Implementing SAM616
- How FastSAM works615
- All-instance segmentation616
- Prompt-guided selection617
- Implementing FastSAM617
- Introducing diffusion models619
- How diffusion models work619
- Diffusion model architecture620
- Implementing a diffusion model from scratch623
- Conditional image generation627
- Understanding Stable Diffusion630
- Building blocks of the Stable Diffusion model631
- CrossAttnDownBlock2D633
- UNetMidBlock2DCrossAttn635
- CrossAttnUpBlock2D636
- DownBlock2D, UpBlock2D638
- Transformer2DModel638
- ResnetBlock2D639
- Implementing Stable Diffusion641
- Summary644
- Questions644
- Chapter 17: Applications of Stable Diffusion645
- In-painting645
- Model training workflow646
- In-painting using Stable Diffusion647
- ControlNet650
- Architecture650
- Implementing ControlNet651
- SDXL Turbo654
- Implementing SDXL Turbo655
- DepthNet657
- Workflow657
- Implementing DepthNet658
- Text to video659
- Workflow659
- Implementing text to video660
- Summary661
- Questions661
- Chapter 18: Moving a Model to Production663
- Understanding the basics of an API664
- Creating an API and making predictions on a local server665
- Installing the API module and dependencies666
- Serving an image classifie666
- add.py667
- server.py668
- Running the server669
- Containerizing the application670
- Building a Docker image671
- Creating the requirements.txt file672
- Creating a Dockerfile672
- Building a Docker image and creating a Docker container673
- Shipping and running the Docker container on the cloud675
- Configuring AWS675
- Creating a Docker repository on AWS ECR and pushing the image676
- Pulling the image and building the Docker container677
- Identifying data drift678
- Using vector stores681
- Summary685
- Questions685
- Appendix687
- Unlock Your Exclusive Benefits703
- Other Books You May Enjoy707
- Index711
=001 90634=005 20260827151706.000=008 131017=020 ##$a9781803231334=040 ##$aHUFLITLIB=041 0#$aeng=044 ##$aenk=082 00$a006.37 $b1A112Y=100 1#$aAyyadevara, V Kishore=245 10$aModern computer vision with PyTorch : $bA practical roadmap from deep learning fundamentals to advanced applications and Generative AI / $cV Kishore Ayyadevara, Yeshwanth Reddy=250 ##$a2nd=260 ##$aBirmingham : $bPackt Publishing, $c2024=300 ##$a711trang : $bminh họa ; $c20x23cm=650 #0$aComputer vision.=650 #0$aGenerative AI=650 #0$aPyTorch (Electronic resource)=650 #4$aThị giác máy tính=650 #4$aTrí tuệ nhân tạo tạo sinh=700 1#$aReddy, Yeshwanth=721 ##$aCông nghệ thông tin=721 ##$aTrí tuệ nhân tạo=722 ##$aHọc sâu=852 ##$bThư viện Hóc Môn $j100051257=852 ##$bThư viện Sư Vạn Hạnh $j100051255, 100051256=LDR 01212nz a2200349n 4500
