caffeR: an R wrapper for ‘caffe’

[This article was first published on R Blog, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Authors: Christof Naumzik & Stefan Feuerriegel

Caffe ( provides a powerful framework for deep learning. It is developed and maintained by the Berkeley Vision and Learning Center (BVLC) and has received a great deal of traction lately.

Caffe enables users to define and train custom-made neural networks without hard-coding. Furthermore, it allows users to execute all computations on CPUs as well as GPUs. Recent research has created a vast zoo of models. This rich prevalence of existing models makes it easy for users to leverage pre-trained neural networks that are known to perform well in various machine learning tasks.

While caffe already offers Matlab and Python interfaces, R is not currently supported. Our package caffeR aims at providing wrapper functions that allow its users to run caffe from R. These include data preprocessing and setup of networks, as well as monitoring and evaluation of training processes. For this purpose, caffeR prepares the correct configuration files and then passes routine calls directly to caffe.

Download of caffeR via GitHub:

To leave a comment for the author, please follow the link and comment on their blog: R Blog. offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)