[caffe] 01/01: README.Debian: update content
Zhou Mo
cdluminate-guest at moszumanska.debian.org
Sat Mar 26 05:22:28 UTC 2016
This is an automated email from the git hooks/post-receive script.
cdluminate-guest pushed a commit to branch debian/experimental
in repository caffe.
commit b32386fee5a5b115f9d650da8ba1cea213e9c9fd
Author: Zhou Mo <cdluminate at gmail.com>
Date: Sat Mar 26 05:19:09 2016 +0000
README.Debian: update content
---
debian/README.Debian | 28 +++++++++++++++-------------
1 file changed, 15 insertions(+), 13 deletions(-)
diff --git a/debian/README.Debian b/debian/README.Debian
index 0f94db1..5dbcad0 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -24,12 +24,16 @@
Custom Build of Caffe
=====================
- Compiling caffe locally may bring better machine performance.
+ If you'd like to build Caffe by yourself, I suggest that you build it
+ with the `custom-*` targets instead of the standard `dpkg-buildpackage`
+ process, so that you can avoid compiling Caffe twice. Besides, Compiling
+ caffe locally may potentially bring a better machine performance.
Inspired by Debian's OpenBLAS packaging, I provid 2 custom targets for
users to build customized caffe Packages for local use:
* custom-cpu
* custom-cuda
+ (see debian/rules for detail)
Instructions for doing local custom build:
@@ -44,10 +48,10 @@
$ apt-get build-dep caffe
Or install build-dependencies manually, the dependency information
- is stored at debian/control.
+ is stored at `debian/control`.
- 2. [Can skip] Have a look at the tail part of debian/rules, and tweak some
- variables as long as you need. (note that debian/rules is a Makefile)
+ 2. [Can omit this] Have a look at the bottom part of debian/rules, and tweak
+ some variables as long as you need. (note that debian/rules is a Makefile)
Here are some hints:
* CUSTOM_JOBS := "-j5"
@@ -77,22 +81,20 @@
* check the resulting packages
$ ls ../*.deb
- If nothing went wrong, install them by running [2]
+ If nothing went wrong, install them. [2]
$ sudo dpkg -i libcaffe-*.deb
- $ sudo dpkg -i caffe-*.deb python-caffe-*.deb
+ $ sudo dpkg -i <others>
- 5. Grab some image datasets and deep network prototxt and have fun.
+ 5. Grab some datasets, set up your network and have fun.
Footnotes
=========
-[1] It's nonsence to install caffe-cpu and caffe-cuda together,
- as all function of caffe-cpu can be provided by caffe-cuda,
- which means functions caffe-cpu provided are a subset of
- those provided by caffe-cuda.
+[1] It's nonsence to install caffe-cpu and caffe-cuda together.
+ caffe-cuda can work under CPU_ONLY mode.
-[2] Make sure to firstly install libcaffe-* which include libcaffe.so.*,
- the true shared object file of caffe. i.e. please install in order.
+[2] Make sure to firstly install libcaffe-* which includes libcaffe.so.*,
+ the shared object file of caffe.
[A]
-- Zhou Mo <cdluminate at gmail.com> Wed, 09 Mar 2016 00:00:00 +0000
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/caffe.git
More information about the debian-science-commits
mailing list