All Projects → breadbread1984 → Caffe2-C-demo

breadbread1984 / Caffe2-C-demo

Licence: other
Show how to use Caffe2 in C++ through a simple LeNet sample project

Programming Languages

C++
36643 projects - #6 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to Caffe2-C-demo

c2board
Tensorboard for Caffe2
Stars: ✭ 32 (-46.67%)
Mutual labels:  caffe2
Deepo
Setup and customize deep learning environment in seconds.
Stars: ✭ 6,145 (+10141.67%)
Mutual labels:  caffe2
Onnx Caffe2
Caffe2 implementation of Open Neural Network Exchange (ONNX)
Stars: ✭ 164 (+173.33%)
Mutual labels:  caffe2
Deep Learning In Production
In this repository, I will share some useful notes and references about deploying deep learning-based models in production.
Stars: ✭ 3,104 (+5073.33%)
Mutual labels:  caffe2
Windows Machine Learning
Samples and Tools for Windows ML.
Stars: ✭ 663 (+1005%)
Mutual labels:  caffe2
Gen Efficientnet Pytorch
Pretrained EfficientNet, EfficientNet-Lite, MixNet, MobileNetV3 / V2, MNASNet A1 and B1, FBNet, Single-Path NAS
Stars: ✭ 1,275 (+2025%)
Mutual labels:  caffe2
OpenCvSharpDNN
Implementation of YoloV3 and Caffe in OpenCvSharp
Stars: ✭ 20 (-66.67%)
Mutual labels:  caffe2
realcaffe2
The repo is obsolete. Use at your own risk.
Stars: ✭ 12 (-80%)
Mutual labels:  caffe2
Test Tube
Python library to easily log experiments and parallelize hyperparameter search for neural networks
Stars: ✭ 663 (+1005%)
Mutual labels:  caffe2
Dlcookbook Dlbs
Deep Learning Benchmarking Suite
Stars: ✭ 114 (+90%)
Mutual labels:  caffe2
Deep Learning Model Convertor
The convertor/conversion of deep learning models for different deep learning frameworks/softwares.
Stars: ✭ 3,044 (+4973.33%)
Mutual labels:  caffe2
Yolo2 Pytorch
PyTorch implementation of the YOLO (You Only Look Once) v2
Stars: ✭ 426 (+610%)
Mutual labels:  caffe2
Deep Dream In Pytorch
Pytorch implementation of the DeepDream computer vision algorithm
Stars: ✭ 90 (+50%)
Mutual labels:  caffe2
caffe2-ios
☕️ Caffe2Kit. A simple one step integration of Caffe2 for iOS.
Stars: ✭ 69 (+15%)
Mutual labels:  caffe2
Netron
Visualizer for neural network, deep learning, and machine learning models
Stars: ✭ 17,193 (+28555%)
Mutual labels:  caffe2
caffe2-yolo
Bridging caffe2 with yolo, esp on mobile devices
Stars: ✭ 18 (-70%)
Mutual labels:  caffe2
Caffe2
Caffe2 is a lightweight, modular, and scalable deep learning framework.
Stars: ✭ 8,409 (+13915%)
Mutual labels:  caffe2
Image2LMDB
Convert image folder to lmdb, adapted from Efficient-PyTorch
Stars: ✭ 58 (-3.33%)
Mutual labels:  caffe2
Caffe2 Ios
Caffe2 on iOS Real-time Demo. Test with Your Own Model and Photos.
Stars: ✭ 221 (+268.33%)
Mutual labels:  caffe2
Ngraph
nGraph has moved to OpenVINO
Stars: ✭ 1,322 (+2103.33%)
Mutual labels:  caffe2

Caffe2 C++ demo

Introduction

This demo shows how Caffe2 trains models, saves params and works with C++ language. Generally, Caffe2 has a tool called run_plan which is a counterpart of the executable caffe of Caffe1. We can train model with run_plan in command line and use the trained params in C++. The process is almost the same as Caffe1.

modify Makefile

change the value of CAFFE2_PREFIX in the makefile according to your customized installation location.

download mnist dataset and convert it into leveldb format

make dataset

train on mnist dataset and save params into lmdb format

make clean && make train

test on mnist dataset

make test

check out accuracy.txt to verify whether the model is properly trained.

make handwriting predictor

make predictor

you can use the predictor to classify single channel 28x28 mnist like handwriting pics. There are some samples extracted from MNIST. You can test on them with the following command.

./predictor -i imgs/0.bmp
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].