зеркало из https://github.com/microsoft/caffe.git
[docs] switch lmdb url for manual install, tweak formatting
This commit is contained in:
Родитель
2a7fe03b5d
Коммит
cbef35c76a
|
@ -8,12 +8,24 @@ title: Installation: Ubuntu
|
|||
|
||||
sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libboost-all-dev libhdf5-serial-dev
|
||||
|
||||
**CUDA**: Install via the NVIDIA package instead of `apt-get` to be certain of the library and driver versions.
|
||||
Install the library and latest driver separately; the driver bundled with the library is usually out-of-date.
|
||||
This can be skipped for CPU-only installation.
|
||||
|
||||
**BLAS**: install ATLAS by `sudo apt-get install libatlas-base-dev` or install OpenBLAS or MKL for better CPU performance.
|
||||
|
||||
**Python** (optional): if you use the default Python you will need to `sudo apt-get install` the `python-dev` package to have the Python headers for building the pycaffe interface.
|
||||
|
||||
**Remaining dependencies, 14.04**
|
||||
|
||||
Everything is packaged in 14.04.
|
||||
|
||||
sudo apt-get install libgflags-dev libgoogle-glog-dev liblmdb-dev protobuf-compiler
|
||||
|
||||
**Remaining dependencies, 12.04**
|
||||
|
||||
These dependencies need manual installation in 12.04.
|
||||
|
||||
# glog
|
||||
wget https://google-glog.googlecode.com/files/glog-0.3.3.tar.gz
|
||||
tar zxvf glog-0.3.3.tar.gz
|
||||
|
@ -28,17 +40,10 @@ title: Installation: Ubuntu
|
|||
export CXXFLAGS="-fPIC" && cmake .. && make VERBOSE=1
|
||||
make && make install
|
||||
# lmdb
|
||||
git clone git://gitorious.org/mdb/mdb.git
|
||||
git clone https://gitorious.org/mdb/mdb.git
|
||||
cd mdb/libraries/liblmdb
|
||||
make && make install
|
||||
|
||||
Note that glog does not compile with the most recent gflags version (2.1), so before that is resolved you will need to build with glog first.
|
||||
|
||||
**CUDA**: Install via the NVIDIA package instead of `apt-get` to be certain of the library and driver versions.
|
||||
Install the library and latest driver separately; the driver bundled with the library is usually out-of-date.
|
||||
|
||||
**BLAS**: install ATLAS by `sudo apt-get install libatlas-base-dev` or install OpenBLAS or MKL for better CPU performance.
|
||||
|
||||
**Python** (optional): if you use the default Python you will need to `sudo apt-get install` the `python-dev` package to have the Python headers for building the pycaffe interface.
|
||||
|
||||
Continue with [compilation](installation.html#compilation).
|
||||
|
|
Загрузка…
Ссылка в новой задаче