Hands-On Image Generation with TensorFlow

Hands-On Image Generation with TensorFlow
Author: Soon Yau Cheong
Publisher: Packt Publishing Ltd
Total Pages: 306
Release: 2020-12-24
Genre: Computers
ISBN: 1838821104

Implement various state-of-the-art architectures, such as GANs and autoencoders, for image generation using TensorFlow 2.x from scratch Key FeaturesUnderstand the different architectures for image generation, including autoencoders and GANsBuild models that can edit an image of your face, turn photos into paintings, and generate photorealistic imagesDiscover how you can build deep neural networks with advanced TensorFlow 2.x featuresBook Description The emerging field of Generative Adversarial Networks (GANs) has made it possible to generate indistinguishable images from existing datasets. With this hands-on book, you’ll not only develop image generation skills but also gain a solid understanding of the underlying principles. Starting with an introduction to the fundamentals of image generation using TensorFlow, this book covers Variational Autoencoders (VAEs) and GANs. You’ll discover how to build models for different applications as you get to grips with performing face swaps using deepfakes, neural style transfer, image-to-image translation, turning simple images into photorealistic images, and much more. You’ll also understand how and why to construct state-of-the-art deep neural networks using advanced techniques such as spectral normalization and self-attention layer before working with advanced models for face generation and editing. You'll also be introduced to photo restoration, text-to-image synthesis, video retargeting, and neural rendering. Throughout the book, you’ll learn to implement models from scratch in TensorFlow 2.x, including PixelCNN, VAE, DCGAN, WGAN, pix2pix, CycleGAN, StyleGAN, GauGAN, and BigGAN. By the end of this book, you'll be well versed in TensorFlow and be able to implement image generative technologies confidently. What you will learnTrain on face datasets and use them to explore latent spaces for editing new facesGet to grips with swapping faces with deepfakesPerform style transfer to convert a photo into a paintingBuild and train pix2pix, CycleGAN, and BicycleGAN for image-to-image translationUse iGAN to understand manifold interpolation and GauGAN to turn simple images into photorealistic imagesBecome well versed in attention generative models such as SAGAN and BigGANGenerate high-resolution photos with Progressive GAN and StyleGANWho this book is for The Hands-On Image Generation with TensorFlow book is for deep learning engineers, practitioners, and researchers who have basic knowledge of convolutional neural networks and want to learn various image generation techniques using TensorFlow 2.x. You’ll also find this book useful if you are an image processing professional or computer vision engineer looking to explore state-of-the-art architectures to improve and enhance images and videos. Knowledge of Python and TensorFlow will help you to get the best out of this book.

Hands-on Computer Vision with TensorFlow 2

Hands-on Computer Vision with TensorFlow 2
Author: Benjamin Planche
Publisher:
Total Pages: 372
Release: 2019
Genre: Application software
ISBN: 9781788830645

Computer vision is achieving a new frontier of capabilities in fields like health, automobile or robotics. This book explores TensorFlow 2, Google's open-source AI framework, and teaches how to leverage deep neural networks for visual tasks. It will help you acquire the insight and skills to be a part of the exciting advances in computer vision.

Hands-On Music Generation with Magenta

Hands-On Music Generation with Magenta
Author: Alexandre DuBreuil
Publisher: Packt Publishing Ltd
Total Pages: 348
Release: 2020-01-31
Genre: Mathematics
ISBN: 1838825762

Design and use machine learning models for music generation using Magenta and make them interact with existing music creation tools Key FeaturesLearn how machine learning, deep learning, and reinforcement learning are used in music generationGenerate new content by manipulating the source data using Magenta utilities, and train machine learning models with itExplore various Magenta projects such as Magenta Studio, MusicVAE, and NSynthBook Description The importance of machine learning (ML) in art is growing at a rapid pace due to recent advancements in the field, and Magenta is at the forefront of this innovation. With this book, you’ll follow a hands-on approach to using ML models for music generation, learning how to integrate them into an existing music production workflow. Complete with practical examples and explanations of the theoretical background required to understand the underlying technologies, this book is the perfect starting point to begin exploring music generation. The book will help you learn how to use the models in Magenta for generating percussion sequences, monophonic and polyphonic melodies in MIDI, and instrument sounds in raw audio. Through practical examples and in-depth explanations, you’ll understand ML models such as RNNs, VAEs, and GANs. Using this knowledge, you’ll create and train your own models for advanced music generation use cases, along with preparing new datasets. Finally, you’ll get to grips with integrating Magenta with other technologies, such as digital audio workstations (DAWs), and using Magenta.js to distribute music generation apps in the browser. By the end of this book, you'll be well-versed with Magenta and have developed the skills you need to use ML models for music generation in your own style. What you will learnUse RNN models in Magenta to generate MIDI percussion, and monophonic and polyphonic sequencesUse WaveNet and GAN models to generate instrument notes in the form of raw audioEmploy Variational Autoencoder models like MusicVAE and GrooVAE to sample, interpolate, and humanize existing sequencesPrepare and create your dataset on specific styles and instrumentsTrain your network on your personal datasets and fix problems when training networksApply MIDI to synchronize Magenta with existing music production tools like DAWsWho this book is for This book is for technically inclined artists and musically inclined computer scientists. Readers who want to get hands-on with building generative music applications that use deep learning will also find this book useful. Although prior musical or technical competence is not required, basic knowledge of the Python programming language is assumed.

GANs in Action

GANs in Action
Author: Vladimir Bok
Publisher: Simon and Schuster
Total Pages: 367
Release: 2019-09-09
Genre: Computers
ISBN: 1638354235

Deep learning systems have gotten really great at identifying patterns in text, images, and video. But applications that create realistic images, natural sentences and paragraphs, or native-quality translations have proven elusive. Generative Adversarial Networks, or GANs, offer a promising solution to these challenges by pairing two competing neural networks' one that generates content and the other that rejects samples that are of poor quality. GANs in Action: Deep learning with Generative Adversarial Networks teaches you how to build and train your own generative adversarial networks. First, you'll get an introduction to generative modelling and how GANs work, along with an overview of their potential uses. Then, you'll start building your own simple adversarial system, as you explore the foundation of GAN architecture: the generator and discriminator networks. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

Hands-On Convolutional Neural Networks with TensorFlow

Hands-On Convolutional Neural Networks with TensorFlow
Author: Iffat Zafar
Publisher: Packt Publishing Ltd
Total Pages: 264
Release: 2018-08-28
Genre: Computers
ISBN: 1789132827

Learn how to apply TensorFlow to a wide range of deep learning and Machine Learning problems with this practical guide on training CNNs for image classification, image recognition, object detection and many computer vision challenges. Key Features Learn the fundamentals of Convolutional Neural Networks Harness Python and Tensorflow to train CNNs Build scalable deep learning models that can process millions of items Book Description Convolutional Neural Networks (CNN) are one of the most popular architectures used in computer vision apps. This book is an introduction to CNNs through solving real-world problems in deep learning while teaching you their implementation in popular Python library - TensorFlow. By the end of the book, you will be training CNNs in no time! We start with an overview of popular machine learning and deep learning models, and then get you set up with a TensorFlow development environment. This environment is the basis for implementing and training deep learning models in later chapters. Then, you will use Convolutional Neural Networks to work on problems such as image classification, object detection, and semantic segmentation. After that, you will use transfer learning to see how these models can solve other deep learning problems. You will also get a taste of implementing generative models such as autoencoders and generative adversarial networks. Later on, you will see useful tips on machine learning best practices and troubleshooting. Finally, you will learn how to apply your models on large datasets of millions of images. What you will learn Train machine learning models with TensorFlow Create systems that can evolve and scale during their life cycle Use CNNs in image recognition and classification Use TensorFlow for building deep learning models Train popular deep learning models Fine-tune a neural network to improve the quality of results with transfer learning Build TensorFlow models that can scale to large datasets and systems Who this book is for This book is for Software Engineers, Data Scientists, or Machine Learning practitioners who want to use CNNs for solving real-world problems. Knowledge of basic machine learning concepts, linear algebra and Python will help.

Deep Learning Illustrated

Deep Learning Illustrated
Author: Jon Krohn
Publisher: Addison-Wesley Professional
Total Pages: 725
Release: 2019-08-05
Genre: Computers
ISBN: 0135121728

"The authors’ clear visual style provides a comprehensive look at what’s currently possible with artificial neural networks as well as a glimpse of the magic that’s to come." – Tim Urban, author of Wait But Why Fully Practical, Insightful Guide to Modern Deep Learning Deep learning is transforming software, facilitating powerful new artificial intelligence capabilities, and driving unprecedented algorithm performance. Deep Learning Illustrated is uniquely intuitive and offers a complete introduction to the discipline’s techniques. Packed with full-color figures and easy-to-follow code, it sweeps away the complexity of building deep learning models, making the subject approachable and fun to learn. World-class instructor and practitioner Jon Krohn–with visionary content from Grant Beyleveld and beautiful illustrations by Aglaé Bassens–presents straightforward analogies to explain what deep learning is, why it has become so popular, and how it relates to other machine learning approaches. Krohn has created a practical reference and tutorial for developers, data scientists, researchers, analysts, and students who want to start applying it. He illuminates theory with hands-on Python code in accompanying Jupyter notebooks. To help you progress quickly, he focuses on the versatile deep learning library Keras to nimbly construct efficient TensorFlow models; PyTorch, the leading alternative library, is also covered. You’ll gain a pragmatic understanding of all major deep learning approaches and their uses in applications ranging from machine vision and natural language processing to image generation and game-playing algorithms. Discover what makes deep learning systems unique, and the implications for practitioners Explore new tools that make deep learning models easier to build, use, and improve Master essential theory: artificial neurons, training, optimization, convolutional nets, recurrent nets, generative adversarial networks (GANs), deep reinforcement learning, and more Walk through building interactive deep learning applications, and move forward with your own artificial intelligence projects Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.

Generative Adversarial Networks Projects

Generative Adversarial Networks Projects
Author: Kailash Ahirwar
Publisher: Packt Publishing Ltd
Total Pages: 310
Release: 2019-01-31
Genre: Mathematics
ISBN: 1789134196

Explore various Generative Adversarial Network architectures using the Python ecosystem Key FeaturesUse different datasets to build advanced projects in the Generative Adversarial Network domainImplement projects ranging from generating 3D shapes to a face aging applicationExplore the power of GANs to contribute in open source research and projectsBook Description Generative Adversarial Networks (GANs) have the potential to build next-generation models, as they can mimic any distribution of data. Major research and development work is being undertaken in this field since it is one of the rapidly growing areas of machine learning. This book will test unsupervised techniques for training neural networks as you build seven end-to-end projects in the GAN domain. Generative Adversarial Network Projects begins by covering the concepts, tools, and libraries that you will use to build efficient projects. You will also use a variety of datasets for the different projects covered in the book. The level of complexity of the operations required increases with every chapter, helping you get to grips with using GANs. You will cover popular approaches such as 3D-GAN, DCGAN, StackGAN, and CycleGAN, and you’ll gain an understanding of the architecture and functioning of generative models through their practical implementation. By the end of this book, you will be ready to build, train, and optimize your own end-to-end GAN models at work or in your own projects. What you will learnTrain a network on the 3D ShapeNet dataset to generate realistic shapesGenerate anime characters using the Keras implementation of DCGANImplement an SRGAN network to generate high-resolution imagesTrain Age-cGAN on Wiki-Cropped images to improve face verificationUse Conditional GANs for image-to-image translationUnderstand the generator and discriminator implementations of StackGAN in KerasWho this book is for If you’re a data scientist, machine learning developer, deep learning practitioner, or AI enthusiast looking for a project guide to test your knowledge and expertise in building real-world GANs models, this book is for you.

Advanced Deep Learning with TensorFlow 2 and Keras

Advanced Deep Learning with TensorFlow 2 and Keras
Author: Rowel Atienza
Publisher: Packt Publishing Ltd
Total Pages: 513
Release: 2020-02-28
Genre: Computers
ISBN: 183882572X

Updated and revised second edition of the bestselling guide to advanced deep learning with TensorFlow 2 and Keras Key FeaturesExplore the most advanced deep learning techniques that drive modern AI resultsNew coverage of unsupervised deep learning using mutual information, object detection, and semantic segmentationCompletely updated for TensorFlow 2.xBook Description Advanced Deep Learning with TensorFlow 2 and Keras, Second Edition is a completely updated edition of the bestselling guide to the advanced deep learning techniques available today. Revised for TensorFlow 2.x, this edition introduces you to the practical side of deep learning with new chapters on unsupervised learning using mutual information, object detection (SSD), and semantic segmentation (FCN and PSPNet), further allowing you to create your own cutting-edge AI projects. Using Keras as an open-source deep learning library, the book features hands-on projects that show you how to create more effective AI with the most up-to-date techniques. Starting with an overview of multi-layer perceptrons (MLPs), convolutional neural networks (CNNs), and recurrent neural networks (RNNs), the book then introduces more cutting-edge techniques as you explore deep neural network architectures, including ResNet and DenseNet, and how to create autoencoders. You will then learn about GANs, and how they can unlock new levels of AI performance. Next, you’ll discover how a variational autoencoder (VAE) is implemented, and how GANs and VAEs have the generative power to synthesize data that can be extremely convincing to humans. You'll also learn to implement DRL such as Deep Q-Learning and Policy Gradient Methods, which are critical to many modern results in AI. What you will learnUse mutual information maximization techniques to perform unsupervised learningUse segmentation to identify the pixel-wise class of each object in an imageIdentify both the bounding box and class of objects in an image using object detectionLearn the building blocks for advanced techniques - MLPss, CNN, and RNNsUnderstand deep neural networks - including ResNet and DenseNetUnderstand and build autoregressive models – autoencoders, VAEs, and GANsDiscover and implement deep reinforcement learning methodsWho this book is for This is not an introductory book, so fluency with Python is required. The reader should also be familiar with some machine learning approaches, and practical experience with DL will also be helpful. Knowledge of Keras or TensorFlow 2.0 is not required but is recommended.