PyTorch Artificial Intelligence Fundamentals
Book information
Description
Artificial Intelligence (AI) continues to grow in popularity and disrupt a wide range of domains, but it is a complex and daunting topic. In this book, you'll get to grips with building deep learning apps, and how you can use PyTorch for research and solving real-world problems. This book uses a recipe-based approach, starting with the basics of tensor manipulation, before covering Convolutional Neural Networks (CNNs) and Recurrent Neural Networks (RNNs) in PyTorch. Once you are well-versed with these basic networks, you'll build a medical image classifier using deep learning. Next, you'll use TensorBoard for visualizations. You'll also delve into Generative Adversarial Networks (GANs) and Deep Reinforcement Learning (DRL) before finally deploying your models to production at scale. You'll discover solutions to common problems faced in machine learning, deep learning, and reinforcement learning. You'll learn to implement AI tasks and tackle real-world problems in computer vision, natural language processing (NLP), and other real-world domains. By the end of this book, you'll have the foundations of the most important and widely used techniques in AI using the PyTorch framework. Cover Title Page Copyright and Credits Dedication Contributors About Packt Table of Contents Preface Chapter 1: Working with Tensors Using PyTorch Technical requirements Installing PyTorch Creating tensors in PyTorch How to do it... How it works... There's more... See also Exploring the NumPy bridge How to do it... How it works... There's more... See also Exploring gradients How to do it... How it works... There's more... See also Viewing tensors in PyTorch How to do it... How it works... There's more... See also Chapter 2: Dealing with Neural Networks Technical requirements Defining the neural network class How to do it... How it works... There's more... See also Creating a fully connected network How to do it... How it works... There's more... See also Defining the loss function How to do it... How it works... There's more... See also Implementing optimizers How to do it... How it works... There's more... See also Implementing dropouts How to do it... How it works... There's more... See also Implementing functional APIs How to do it... How it works... There' s more... See also Chapter 3: Convolutional Neural Networks for Computer Vision Technical requirements Exploring convolutions How to do it... How it works... There's more... See also Exploring pooling How to do it... How it works... There's more... See also Exploring transforms How to do it... How it works... There's more... See also Performing data augmentation How to do it... How it works... There's more... See also Loading image data Getting ready How to do it... How it works... There's more... See also Defining the CNN architecture How to do it... How it works... There's more... See also Training an image classifier How to do it... How it works... There's more... See also Chapter 4: Recurrent Neural Networks for NLP Introducing RNNs Technical requirements Tokenization How to do it... How it works... There's more... See also Creating fields How to do it... How it works... There's more... See also Developing a dataset Getting ready How to do it... How it works... There's more... See also Developing iterators How to do it... How it works... There's more... See also Exploring word embeddings How to do it... How it works... There's more... See also Building an LSTM network How to do it... How it works... There's more... See also Multilayer LSTMs How to do it... How it works... There's more... See also Bidirectional LSTMs Getting ready How to do it... How it works... There's more... See also Chapter 5: Transfer Learning and TensorBoard Technical requirements Adapting a pretrained model Getting ready How to do it... How it works... Implementing model training How to do it... How it works... Implementing model testing How to do it... How it works... Loading the dataset How to do it... How it works... Defining the TensorBoard writer Getting ready How to do it... How it works... Training the model and unfreezing layers How to do it... How it works... There's more... See also Chapter 6: Exploring Generative Adversarial Networks Technical requirements Creating a DCGAN generator How to do it... How it works... See also Creating a DCGAN discriminator Getting Ready How to do it... How it works... See also Training a DCGAN model Getting Ready How to do it... How it works... There's more... See also Visualizing DCGAN results Getting Ready How to do it... How it works... There's more... See also Running PGGAN with PyTorch hub Getting ready How to do it... How it works... There's more... See also Chapter 7: Deep Reinforcement Learning Introducing deep RL Introducing OpenAI gym – CartPole Getting ready How to do it... How it works... There's more... See also Introducing DQNs How to do it... How it works... There's more... See also Implementing the DQN class Getting ready How to do it... How it works... There's more... See also Training DQN How to do it... How it works... There's more... See also Introduction to Deep GA How to do it... How it works... There's more... See also Generating agents How to do it... How it works... See also Selecting agents How to do it... How it works... Mutating agents How to do it... How it works... Training Deep GA How to do it... How it works... There's more... See also Chapter 8: Productionizing AI Models in PyTorch Technical requirements Deploying models using Flask Getting ready How to do it... How it works... There's more... See also Creating a TorchScript How to do it... How it works... There's more... See also Exporting to ONNX Getting ready How to do it... How it works... There's more... See also Other Books You May Enjoy Index
Similar books
PyTorch Artificial Intelligence Fundamentals
2020 · EPUB
MySQL® Notes for Professionals book
2018 · PDF
MrExcel 2022: Boosting Excel
2022 · PDF
MrExcel 2022: Boosting Excel
2022 · PDF
Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36
2010 · PDF
THE BRITISH ARMY IN INDIA: ITS PRESERVATION BY AN APPROPRIATE CLOTHING, HOUSING, LOCATING, RECREATIVE EMPLOYMENT, AND HOPEFUL ENCOURAGEMENT OF THE TROOPS. with AN APPENDIX ON INDIA : THE CLIMATE OP ITS HILLS ; THE DEVELOPMENT OF ITS RESODRCBS, INDUSTRY, AND ARTS ; THE ADMINISTRATION OF JUSTICE ; THE BLACK ACT ; THE PROGRESS OF CHRISTIANITY ; THE TRAFFIC IN OPIUM ; THE VALUE OF INDIA ; PERMANENT CAUSES OF DISAFFECTION, AND OF THE RECENT REBELLION ; THE TRADITIONARY POLICY; MISGOVERNMENT BY NATIVE RULERS ; ANNEXATIONS OF THEIR TERRITORY, ETC.
1858 · PDF
Idries Shah 27 Books Collection : A Perfumed Scorpion, A Veiled Gazelle, Caravan of Dreams, Darkest England, Destination Mecca, Evenings with Idries Shah, Knowing How to Know, Learning How to Learn, Letters and Lectures of Idries Shah, Neglected aspects of Sufi study, Observations, Oriental Magic, Reflections, Seeker after Truth, Special Illumination, Special Problems in the study of Sufi ideas, Sufi thought and action, Tales of the Dervishes, The Dermis Probe, The Elephant in the Dark, The Englishman Handbook, Idries Shah Antology, The Magic Monastery, The natives are restless, wisdom of the Idiots PDF.
2022 · PDF
The travels of Capts. Lewis and Clarke from St. Louis, by way of the Missouri and Columbia rivers, to the Pacific ocean; performed in the years 1804, 1805 & 1806, by order of the government of the United States. Containing delineations of the manners, customs, religion, &c. of the Indians, comp. from various authentic sources, and original documents, and a summary of the Statistical view of the Indian nations, from the official communication of Meriwether Lewis. Illustrated with a map of the country, inhabited by the western tribes of Indians
1809 · PDF