Expanded Library

Caffe2: Getting Started

by Janani Ravi

Caffe2 is a deep learning framework that was open-sourced by Facebook in April 2017. Caffe2 has been explicitly built for large-scale production deployment and for use in a constrained resource environment such as mobile devices.

What you'll learn

Caffe2 is an open-source deep learning framework and competitor to frameworks such as TensorFlow, Apache MXNet and PyTorch. It's focus is on efficiency and works well with constrained environments such as on mobile devices. In this course, Caffe2: Getting Started, you'll learn the fundamentals of building neural nets and working with Caffe2, get introduced to the Caffe2 Model Zoo and see how you can import models from PyTorch to Caffe2 using ONNX. First, you'll discover the basic building blocks of Caffe2, blobs and workspaces, nets and operators, and put those together to build neural networks to perform tasks such as regression and classification. Then, you'll get introduced to common image pre-processing techniques and the Caffe2 Model Zoo which offers a wide variety of pre-trained models for common use cases. Next, you'll focus on interoperability between the PyTorch deep learning framework and Caffe2 using ONNX, an open source framework for exporting models from one framework to another. Last, you'll use ONNX to move a super-resolution model from PyTorch to Caffe2. By the end of this course, you should be comfortable building and executing neural networks using Caffe2, using pre-trained models for common tasks and using ONNX to move from one framework to another.

About the author

Janani has a Masters degree from Stanford and worked for 7+ years at Google. She was one of the original engineers on Google Docs and holds 4 patents for its real-time collaborative editing framework. After spending years working in tech in the Bay Area, New York, and Singapore at companies such as Microsoft, Google, and Flipkart, Janani finally decided to combine her love for technology with her passion for teaching. She is now the co-founder of Loonycorn, a content studio focused on providing ... more

Ready to upskill? Get started