Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
The Computer Vision Workshop

You're reading from   The Computer Vision Workshop Develop the skills you need to use computer vision algorithms in your own artificial intelligence projects

Arrow left icon
Product type Paperback
Published in Jul 2020
Publisher Packt
ISBN-13 9781800201774
Length 568 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (3):
Arrow left icon
Nikhil Singh Nikhil Singh
Author Profile Icon Nikhil Singh
Nikhil Singh
Hafsa Asad Hafsa Asad
Author Profile Icon Hafsa Asad
Hafsa Asad
Vishwesh Ravi Shrimali Vishwesh Ravi Shrimali
Author Profile Icon Vishwesh Ravi Shrimali
Vishwesh Ravi Shrimali
Arrow right icon
View More author details
Toc

Model Conversion Using Model Optimizer

We have already discussed in detail why we need OpenVINO's optimization power. Now, let's understand how Model Optimizer helps with that. Generally speaking, OpenVINO's optimization takes place in two steps: one at the Model Optimizer stage and one at the Inference Engine stage. We will investigate the Inference Engine in the next section, but for now, let's focus on Model Optimizer.

Model Optimizer carries out two main operations – quantization and fusion.

Let's start by understanding quantization. As you may recall, we talked about precision in Exercise 8.01, Downloading the Pedestrian and Vehicle Detection Model, when we said that FP16 means that the number representation is going to use 16 bits of memory and will be represented in floating-point format. Quantization is closely related to that. To understand it, let's look at an example. Let's say we want to represent a number, 0.578156, in a...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime