You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's done. I've done it. Anyone who happens upon this please learn from my mistakes and read all the issues before posting your own. And just use git's own tools instead of ever merging a codebase by hand.
// old
I've merged the necessary .cpp, .hpp and .cu files into my own caffe, that has other layers depending on cuDNN v5.1.
My errors are different than those in #97 . I did see that issue before, but the rest of the layers support cuDNN 5.1, and besides I can make all without problems.
I solved one redefinition error (below) by adding "_cpu" to the offending lines in modified_permutohedral.cpp and everything compiles. But I get a neverending stream of errors in make runtest... all to do with CUDA.
#77 was one issue, but fixing it has exposed some more problems. One concerns a call to cudaMemset(). Another is in cudaFree():
The third common error is cudaSuccess (77 vs. 0) inside of hash_table.hpp (line 45)
Other tests, e.g. CuDNNConvolutionLayerTest run and pass no problem. It's always in the cuda-related files copied from this repo.
// Original post
Hi, I am trying to transfer the layers from this repo into another modified caffe version.
I run make all and it completes with some warnings. But I get the attached error when running make test.
It's done. I've done it. Anyone who happens upon this please learn from my mistakes and read all the issues before posting your own. And just use git's own tools instead of ever merging a codebase by hand.
// old
I've merged the necessary .cpp, .hpp and .cu files into my own caffe, that has other layers depending on cuDNN v5.1.
My errors are different than those in #97 . I did see that issue before, but the rest of the layers support cuDNN 5.1, and besides I can
make all
without problems.I solved one redefinition error (below) by adding "_cpu" to the offending lines in modified_permutohedral.cpp and everything compiles. But I get a neverending stream of errors in
make runtest
... all to do with CUDA.#77 was one issue, but fixing it has exposed some more problems. One concerns a call to
cudaMemset()
. Another is incudaFree()
:The third common error is
cudaSuccess (77 vs. 0)
inside ofhash_table.hpp
(line 45)Other tests, e.g. CuDNNConvolutionLayerTest run and pass no problem. It's always in the cuda-related files copied from this repo.
I use cuda 8 and cuDNN 5.1 on ubuntu 16.04, but the errors are the same on OS X with
// Original post
Hi, I am trying to transfer the layers from this repo into another modified caffe version.
I run
make all
and it completes with some warnings. But I get the attached error when runningmake test
.By examining
https://github.com/torrvision/caffe/blob/crfrnn/src/caffe/util/modified_permutohedral.cpp
and
https://github.com/torrvision/caffe/blob/crfrnn/include/caffe/util/modified_permutohedral.hpp
I see that init and compute are defined in both. I am new to C++ and am not sure what to modify to make the test build.
My OS is OS X El Capitan, and I'm building with cuDNN v5 support ON. Any advice appreciated :)
(Will also try on Ubuntu 16.04 machine at a later date)
The text was updated successfully, but these errors were encountered: