Book Image

Hands-On Deep Learning Architectures with Python

By : Yuxi (Hayden) Liu, Saransh Mehta
Book Image

Hands-On Deep Learning Architectures with Python

By: Yuxi (Hayden) Liu, Saransh Mehta

Overview of this book

Deep learning architectures are composed of multilevel nonlinear operations that represent high-level abstractions; this allows you to learn useful feature representations from the data. This book will help you learn and implement deep learning architectures to resolve various deep learning research problems. Hands-On Deep Learning Architectures with Python explains the essential learning algorithms used for deep and shallow architectures. Packed with practical implementations and ideas to help you build efficient artificial intelligence systems (AI), this book will help you learn how neural networks play a major role in building deep architectures. You will understand various deep learning architectures (such as AlexNet, VGG Net, GoogleNet) with easy-to-follow code and diagrams. In addition to this, the book will also guide you in building and training various deep architectures such as the Boltzmann mechanism, autoencoders, convolutional neural networks (CNNs), recurrent neural networks (RNNs), natural language processing (NLP), GAN, and more—all with practical implementations. By the end of this book, you will be able to construct deep models using popular frameworks and datasets with the required design patterns for each architecture. You will be ready to explore the potential of deep architectures in today's world.
Table of Contents (15 chapters)
Free Chapter
1
Section 1: The Elements of Deep Learning
5
Section 2: Convolutional Neural Networks
8
Section 3: Sequence Modeling
10
Section 4: Generative Adversarial Networks (GANs)
12
Section 5: The Future of Deep Learning and Advanced Artificial Intelligence

Comparing the two MobileNets

MobileNetV2 has introduced significant changes in the architecture of MobileNet. Were the changes worth making? How much better is MobileNetV2 than MobileNet in regards to performance? We can compare the models in terms of the number of multiplication operations required for one inference, which is commonly known as MACs (number of multiply-accumulates). The higher the MAC value, the heavier the network is. We can also compare the models in terms of the number of parameters in the model. The following table shows the MACs and the number of parameters for both MobileNet and MobileNetV2:

Network Number of Parameters MACs/ MAdds
MobileNet V1 4.2M 575M
MobileNet V2 3.4M 300M

 

We can also compare the models in terms of memory that's required for the different number of channels and resolution. The following table provides...