Book Image

Hands-On Convolutional Neural Networks with TensorFlow

By : Iffat Zafar, Giounona Tzanidou, Richard Burton, Nimesh Patel, Leonardo Araujo
Book Image

Hands-On Convolutional Neural Networks with TensorFlow

By: Iffat Zafar, Giounona Tzanidou, Richard Burton, Nimesh Patel, Leonardo Araujo

Overview of this book

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.
Table of Contents (17 chapters)
Title Page
Copyright and Credits
Packt Upsell
Contributors
Preface
Index

Chapter 8. Machine Learning Best Practices and Troubleshooting

It is essential in machine learning engineering to know how to proceed during the development of a system to avoid pitfalls and address common issues. The easiest way to create a machine learning system, that saves you money and time, is to reuse code and pretrained models that have been applied to similar problems to your own. If this does not cover your needs, then you may need to train your own CNN architecture as this can sometimes be the best way to solve your problem. However, one of the biggest challenges to face is finding large scale, publicly available datasets that are tailor-made to your problem. Therefore, it is often the case that you may need to create your own dataset. When creating your own dataset it is very crucial to organize it appropriately in order to insure successful model training.

In this chapter we will present and discuss the day-to-day workflow that will help you to answer the following questions...