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
Caffe2 Quick Start Guide

You're reading from  Caffe2 Quick Start Guide

Product type Book
Published in May 2019
Publisher Packt
ISBN-13 9781789137750
Pages 136 pages
Edition 1st Edition
Languages
Author (1):
Ashwin Nanjappa Ashwin Nanjappa
Profile icon Ashwin Nanjappa
Toc

Converting a Caffe2 model to Caffe

In the previous sections in this chapter, we focused on how to convert a Caffe model to a Caffe2 model. Since Caffe is not being actively developed now, and Caffe2 was, in part, created to supersede Caffe2, this path of migrating a Caffe model to Caffe2 is what the majority of users are interested in.

However, if you need to use a Caffe2 model in Caffe, then that process is bound to be more arduous. There does not seem to be any direct way to convert a Caffe2 model to Caffe. If you are sure that the Caffe2 operators and their arguments are fully supported in Caffe, then you could try going through an intermediary format such as ONNX (see Chapter 5, Working with Other Frameworks).

If the ONNX route is not feasible, then you might have to resort to executing the following tasks manually:

  1. Export Caffe2 operators, arguments, and weights of the model...
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 €14.99/month. Cancel anytime