We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
caffe --version
caffe does not print its version. Current behaviour:
$ caffe --version caffe
The expected behaviour would be to print the git hash.
$ caffe --version caffe version rc2-470-g6a5425f
This issue can be resolved by setting gflags::SetVersionString. The git hash can be obtained by git describe --tags. See this stackoverflow question for greater detail: http://stackoverflow.com/questions/1435953/how-can-i-pass-git-sha1-to-compiler-as-definition-using-cmake
git describe --tags
The text was updated successfully, but these errors were encountered:
👍
FYI, the CMake build already grabs this information, so it should be relatively easy to add:
https://github.com/BVLC/caffe/blob/0dfc5dac3d/cmake/Summary.cmake#L58-L76
Sorry, something went wrong.
Mostly done in #3311 although the full git describe output is not yet included.
git describe
No branches or pull requests
caffe does not print its version.
Current behaviour:
The expected behaviour would be to print the git hash.
This issue can be resolved by setting gflags::SetVersionString.
The git hash can be obtained by
git describe --tags
. See this stackoverflow question for greaterdetail: http://stackoverflow.com/questions/1435953/how-can-i-pass-git-sha1-to-compiler-as-definition-using-cmake
The text was updated successfully, but these errors were encountered: