The official installation instructions explain the recommended steps for installing on the official platforms of Ubuntu 14.04 and 12.04 and OS X 10.10, 10.9, and 10.8.
![](/uploads/1/2/6/7/126704166/641363555.png)
![Microsoft caffe Microsoft caffe](/uploads/1/2/6/7/126704166/513869822.png)
These unofficial instructions collect tips and guides but without any guarantees. Please add any missing details and correct any mistakes.
Linux
REM Create a new conda environment to install Caffe REM You can use python 3.5, 3.6 or 3.7 conda create -n caffe python=3.7 REM activate the environment REM Depending on your conda version you may have to use activate caffe.
- Ubuntu 14.04/Cuda 7 for EC2: AMI and installation script that works on EC2 g2.2xlarge and g2.8xlarge instances.
- Ubuntu 14.04 VirtualBox VM: virtual machine installation with CUDA 6.5 and system Python.
- Ubuntu 14.04 ec2 instance: ec2 installation with CUDA 6.5 and video walkthrough plus a vagrant VM. (Needs update for latest Caffe).
- Docker image (GPU only): a Docker image for GPU mode, including Python dependencies. For detailed instructions, see Running Caffe on AWS GPU Instance via Docker
- Docker image (CPU only): Same as above, but CPU only.
- Alt. CPU Docker image: Weekly builds of Caffe (CPU-only).
- Alt. GPU Docker image: Weekly builds of Caffe (CUDA 6.5, 7.0 and 7.5 versions available). See source project for details.
- Super computing cluster without root access (GPU+CPU): Cuda 6.5, cuDNN V1, Python 2.7.x
OS X
See the official instructions.
Windows
The official windows port can be accessed from Microsoft/caffe, which is supported by Microsoft.
There is an unofficial Windows port of Caffe at niuzhiheng/caffe:windows. Thanks @niuzhiheng!
Another unofficial Windows port of Caffe at [redknightlois/caffe] (https://github.com/redknightlois/caffe). This port is based on work done by @initialneal. Binary packages to compile available at: https://initialneil.wordpress.com/2015/01/11/build-caffe-in-windows-with-visual-studio-2013-cuda-6-5-opencv-2-4-9/
Yet another unofficial Windows port can be found at willyd/caffe. Unlike the previous ports this one builds on top of the CMake build. A super-build project that downloads and builds all Caffe dependencies is also available at willyd/caffe-builder.
Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign up
![Caffe Caffe](/uploads/1/2/6/7/126704166/122256190.jpg)
The official installation instructions explain the recommended steps for installing on the official platforms of CentOS 7.3.
These unofficial instructions collect tips and guides but without any guarantees. Please add any missing details and correct any mistakes.
Conda Package Installation
- Install bzip2
- Install miniconda / anaconda (https://conda.io/miniconda.html / https://www.anaconda.com/download/)
- conda install -c intel caffe
- run IntelCaffe: ${PREFIX}/bin/caffe, where ${PREFIX} is the root installation directory of miniconda or anaconda.
Docker
- Please follow the instructions (https://github.com/intel/caffe/tree/master/docker)
- Note that you may need to specify proxy in Dockerfile (e.g., docker/standalone/cpu-ubuntu/Dockerfile)
Linux
- Source Installation: Install and build from source and run performance benchmarks (https://github.com/intel/caffe/wiki/Install-Intel-Caffe)
- Ubuntu 14.04/Cuda 7 for EC2: AMI and installation script that works on EC2 g2.2xlarge and g2.8xlarge instances.
- Ubuntu 14.04 VirtualBox VM: virtual machine installation with CUDA 6.5 and system Python.
- Ubuntu 14.04 ec2 instance: ec2 installation with CUDA 6.5 and video walkthrough plus a vagrant VM. (Needs update for latest Caffe).
- Super computing cluster without root access (GPU+CPU): Cuda 6.5, cuDNN V1, Python 2.7.x
OS X
See the official instructions.
Windows
There is an unofficial Windows port of Caffe at niuzhiheng/caffe:windows. Thanks @niuzhiheng!
Another unofficial Windows port of Caffe at [redknightlois/caffe] (https://github.com/redknightlois/caffe). This port is based on work done by @initialneal. Binary packages to compile available at: https://initialneil.wordpress.com/2015/01/11/build-caffe-in-windows-with-visual-studio-2013-cuda-6-5-opencv-2-4-9/
Yet another unofficial Windows port can be found at willyd/caffe. Unlike the previous ports this one builds on top of the CMake build. A super-build project that downloads and builds all Caffe dependencies is also available at willyd/caffe-builder.
See https://github.com/intel/caffe/wiki/Run-benchmark
Clone this wiki locally
![](/uploads/1/2/6/7/126704166/641363555.png)