Comments (3)
I suggest you compiling the code using the "make all" command, that should work.
from deep-supervised-hashing-dsh.
Thank you for replying so fast! I used 'make -j4' at the previous attempts to compile it, but when using 'make all' it results in the same error. I am able to compile the original caffe with both the 'make -j4' and 'make all' commands.
The steps I take on my ubuntu 16.04 LTS system are renaming the Makefile.config.example to Makefile.config and editing it to fit my system. Then I create a build folder and use 'cmake ..' and 'make all' within the build folder.
When the 'cmake ..' command is in progress it only throws the error it cannot detect CUDA, and continues building without it.
Thanks for your time and patience!
from deep-supervised-hashing-dsh.
@Lischip Hi, I've tested my code on an ubuntu 16.04 server, it works just fine for me. Here's how I compiled the code:
Step 1: git clone the code
Step 2: cd to the directory
Step 3: rename Makefile.config.example to Makefile.config, and add the path of libhdf5 as:
INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include /usr/include/hdf5/serial
LIBRARY_DIRS := $(PYTHON_LIB) /usr/local/lib /usr/lib /usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/hdf5/serial
Step 4: uncomment "USE_CUDNN", note that this version of the code does not support cudnn v5, so I used cudnn v4, and added the path to "Makefile.config" accordingly.
Step 5: make all -j8
I didn't use cmake, so I think that cmake might be the cause of your problem. You could try to compile the code by simply using "make all".
Another solution could be to implement the forward_gpu and backward_gpu functions for the hashing_loss_layer. But the above solution could be easier.
from deep-supervised-hashing-dsh.
Related Issues (14)
- 代码在make test时会报错 HOT 7
- 请问'hashing_image_data_layer'有什么用? HOT 6
- 请问map的计算是只在测试集中查询吗? HOT 2
- Nothing in the distribute file after the make all -j4 ,compared to the original caffe,there is no profile,why? HOT 1
- error: ‘class caffe::LayerParameter’ has no member named ‘hashing_loss_param’ HOT 1
- "make test" and got the error "no matching function for call to ReadImageToDatum and ReadFileToDatum" HOT 14
- About NUS-WIDE HOT 12
- How to read the file ‘code.dat’? HOT 1
- Must use GPU? HOT 4
- 关于hashing_image_data_layer.cpp的问题 HOT 2
- 测试的时候是一张图片为输入,还是两张? HOT 5
- HashLoss Layer question HOT 3
- mAP become worse when I change the dimension of the hash code to 24 or larger. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deep-supervised-hashing-dsh.