Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
The Computer Vision Workshop

You're reading from  The Computer Vision Workshop

Product type Book
Published in Jul 2020
Publisher Packt
ISBN-13 9781800201774
Pages 568 pages
Edition 1st Edition
Languages
Authors (3):
Hafsa Asad Hafsa Asad
Profile icon Hafsa Asad
Vishwesh Ravi Shrimali Vishwesh Ravi Shrimali
Profile icon Vishwesh Ravi Shrimali
Nikhil Singh Nikhil Singh
Profile icon Nikhil Singh
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 $15.99/month. Cancel anytime}