Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

Tutorials

Aaron Markham edited this page Aug 30, 2017 · 3 revisions

Sharing Tutorials

Here you can easily add Caffe2 tutorials. We want to encourage the community to add their own tutorials to help each other get started with Caffe2 quickly. If you are a contributor already you can edit this wiki to add links to your tutorials. If you're not a contributor yet, one of the easiest ways to contribute is to add a tutorial or clarify some part of the documentation.

To publish a tutorial on the first iteration of the Caffe2 website, you would have had to deploy a web based tutorial in markdown, in addition to the IPython one on Github, and edit some Jekyll code for the navigation. Now all you need to do is create a pull request with your new tutorial and once it has been pulled, come back to this wiki and add it to the table(s).

Tutorial Locations

A tutorials overview and an intro tutorial is available on the Caffe2 website.

Python Tutorials & Examples

Python tutorials are currently found in the /caffe2/python/tutorials/ folder.

Example scripts can be found in /caffe2/python/examples. You can find additional information about the examples usage for RNNs, training ResNet, and LMDB creation. Outside of this folder and in the main Python folder you will find test scripts that will help you implement certain Caffe2 features like the data parallel model.

C++ Tutorials

You can find a C++ starter tutorial on the Caffe2 website.

Also, kudos to @leonardvandriel who has translated the Caffe2 Python tutorials to C++ as well as ported DeepDream to Caffe2.

Latest Tutorials

Name Type
AI Camera demo project
Basics IPython
Brew programming guide
Caffe to Caffe2 example
Create Your Own Dataset (Iris example) IPython
Custom Operators programming guide
Getting Started with C++ walkthrough
Image Pre-Processing IPython
Loading Pre-Trained Models IPython
MNIST IPython
MNIST Dataset & Databases IPython
Multi-GPU Training (ImageNet example) IPython
RNNs and LSTM Networks walkthrough
Synchronous SGD programming guide
Toy Regression IPython
Clone this wiki locally