forked from BVLC/caffe
-
Notifications
You must be signed in to change notification settings - Fork 260
Closed
Labels
Description
This caffe fork provides versioning of caffe (since BVLC is unwilling to deal with the overhead - BVLC#486) by outputting the libcaffe.so file as libcaffe-nv.so.0.11.0 (or whatever the current version is).
In DIGITS, we are currently querying the version by checking the output of ldd. That's not a platform-independent solution, and it's pretty hacky in general.
Currently there is a command-line flag --version which does this:
$ build/tools/caffe --version
caffeThat's not very helpful. Here are some examples of the type of thing it should return:
$ gcc --version
gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ ruby --version
ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]
$ pip --version
pip 1.5.4 from /usr/lib/python2.7/dist-packages (python 2.7)
$ python --version
Python 2.7.6
The NVIDIA/caffe fork should output something like this:
$ caffe --version
Caffe 0.11.0 (NVIDIA)
Reactions are currently unavailable