Comments (3)
It turns out my cmake version is low. I have upgrade it to 3.14 and cmake .. is ok.
However,when I did "make " command, error still occurred.
CMake Error at cuda_compile_1_generated_absval_layer.cu.o.Release.cmake:279 (message):
Error generating file
/home/godu/Documents/caffe-posenet/build/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/./cuda_compile_1_generated_absval_layer.cu.o
src/caffe/CMakeFiles/caffe.dir/build.make:497: recipe for target 'src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_absval_layer.cu.o' failed
make[2]: *** [src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_absval_layer.cu.o] Error 1
CMakeFiles/Makefile2:240: recipe for target 'src/caffe/CMakeFiles/caffe.dir/all' failed
make[1]: *** [src/caffe/CMakeFiles/caffe.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
from caffe-posenet.
It turns out that caffe in this project is slightly different with the official caffe. So we need to replace some files related to cudnn in caffe-posenet project.
Then I followed instructions of https://github.com/DRAhmadFaraz/PoseNet-Caffe.
Like
Replace ./include/caffe/util/cudnn.hpp with the latest version of cudnn in caffe, the corresponding cudnn.hpp. All files in ./include/caffe/layers that start with cudnn, such as cudnn_conv_layer.hpp. Replaced with the corresponding file of the same name in the latest version of caffe. Replace all files starting with cudnn, such as cudnn_lrn_layer.cu, cudnn_pooling_layer.cpp, cudnn_sigmoid_layer.cu, in ./src/caffe/layer with the corresponding file of the same name in the latest version of caffe.
finally worked!
hope this could help someone else.
from caffe-posenet.
Oh I finally make it.
I have made some mistakes in compiling this projects. So I am going to comment here for anyone in use.
This project have a caffe itself. So the first step is to do "[cmake ..] and [make all] and [make pycaffe] on your own.
I did not realise it until read some issue. So bad, hopefully project owner could write it somewhere in Readme file.
After I finish building this caffe, ~/.bashrc should add a line in order to specify the python this project is going to use. Here is my line.
export PYTHONPATH=$PYTHONPATH:/home/godu/Documents/caffe-posenet/python:$PYTHONPATH
Then you MUST change some lines in create_posenet_lmdb_dataset.py and test_posenet.py as the author mentioned.
Some users confront errors in this step.
You should notice that in the codes of python file, caffe_root ends with a "/".
This is one of my changes in 13 line of test_posenet.py file.
Make sure that caffe is on the python path:
caffe_root = '/home/godu/Documents/caffe-posenet/' # Change to your directory to caffe-posenet
import sys
sys.path.insert(0, caffe_root + 'python')
from caffe-posenet.
Related Issues (20)
- Upload own image doesn't work fine HOT 2
- Wrong image pose in Great Court train data set HOT 1
- saliency map generation HOT 1
- Check failed:slice_dim out of range
- how to train PoseNet with my own dateset? HOT 17
- An error converting a file in LMDB format to an average file HOT 2
- ImportError: No module named _caffe HOT 1
- Loading mean file from: ../imagemean.binaryproto Check failed: mdb_status == 0 (2 vs. 0) No such file or directory
- A question about the median error in paper HOT 3
- Notes to Install this Posenet Code
- Pridected Poses for every corrosponding images
- camera intrinsic of Cambridge landmark
- Does it work with gray images? HOT 1
- predicted results on the test cases
- is there any solution to reduce the dof from 6d to 3d of PoseNet on some specific pose regression task scenes like indoor flat-ground-moving vehicles??
- import caffe HOT 1
- Module 'caffe' has no attribute 'Net' HOT 1
- Hello guys I just want to check that did anyone who perform the whole experiments on Windows?
- The meaning of Kingdom dataset vector
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 caffe-posenet.