yulequan / 3d-caffe Goto Github PK
View Code? Open in Web Editor NEW3D Caffe library for 3D classification or segmentation problem.
License: Other
3D Caffe library for 3D classification or segmentation problem.
License: Other
Why there is no crop layer in 3D-Caffe?
I found you have added the "SoftmaxWithWeightedLossLayer" into the library, but I cannot find a tutorial about how to use it. Can you give me a simple example of it? Thanks a lot!!
I am using ubuntu 14.04, cuda 8.0 cuDDN 5.0. Anaconda 2.1
$ sudo make all (successful)
$ sudo make pycaffe (successful)
import caffe (successful)
I met below error when I work work $ sudo make test OR $ sudo make runtest
I am newbie with deep learning. I am requested for your kind help please.
$ make runtest
CXX src/caffe/test/test_stochastic_pooling.cpp
src/caffe/test/test_stochastic_pooling.cpp: In member function ‘virtual void caffe::CPUStochasticPoolingLayerTest_TestSetup_Test<gtest_TypeParam_>::TestBody()’:
src/caffe/test/test_stochastic_pooling.cpp:59:35: error: no matching function for call to ‘caffe::PoolingParameter::set_kernel_size(int)’
pooling_param->set_kernel_size(3);
^
src/caffe/test/test_stochastic_pooling.cpp:59:35: note: candidate is:
In file included from ./include/caffe/util/cudnn.hpp:9:0,
from ./include/caffe/util/device_alternate.hpp:40,
from ./include/caffe/common.hpp:19,
from ./include/caffe/blob.hpp:8,
from src/caffe/test/test_stochastic_pooling.cpp:6:
.build_release/src/caffe/proto/caffe.pb.h:20194:13: note: void caffe::PoolingParameter::set_kernel_size(int, google::protobuf::uint32)
inline void PoolingParameter::set_kernel_size(int index, ::google::protobuf::uint32 value) {
^
.build_release/src/caffe/proto/caffe.pb.h:20194:13: note: candidate expects 2 arguments, 1 provided
src/caffe/test/test_stochastic_pooling.cpp:60:30: error: no matching function for call to ‘caffe::PoolingParameter::set_stride(int)’
pooling_param->set_stride(2);
^
src/caffe/test/test_stochastic_pooling.cpp:60:30: note: candidate is:
In file included from ./include/caffe/util/cudnn.hpp:9:0,
from ./include/caffe/util/device_alternate.hpp:40,
from ./include/caffe/common.hpp:19,
from ./include/caffe/blob.hpp:8,
from src/caffe/test/test_stochastic_pooling.cpp:6:
.build_release/src/caffe/proto/caffe.pb.h:20219:13: note: void caffe::PoolingParameter::set_stride(int, google::protobuf::uint32)
inline void PoolingParameter::set_stride(int index, ::google::protobuf::uint32 value) {
^
.build_release/src/caffe/proto/caffe.pb.h:20219:13: note: candidate expects 2 arguments, 1 provided
src/caffe/test/test_stochastic_pooling.cpp: In member function ‘virtual void caffe::GPUStochasticPoolingLayerTest_TestStochastic_Test<gtest_TypeParam_>::TestBody()’:
src/caffe/test/test_stochastic_pooling.cpp:82:35: error: no matching function for call to ‘caffe::PoolingParameter::set_kernel_size(int)’
pooling_param->set_kernel_size(3);
^
src/caffe/test/test_stochastic_pooling.cpp:82:35: note: candidate is:
In file included from ./include/caffe/util/cudnn.hpp:9:0,
from ./include/caffe/util/device_alternate.hpp:40,
from ./include/caffe/common.hpp:19,
from ./include/caffe/blob.hpp:8,
from src/caffe/test/test_stochastic_pooling.cpp:6:
.build_release/src/caffe/proto/caffe.pb.h:20194:13: note: void caffe::PoolingParameter::set_kernel_size(int, google::protobuf::uint32)
inline void PoolingParameter::set_kernel_size(int index, ::google::protobuf::uint32 value) {
^
.build_release/src/caffe/proto/caffe.pb.h:20194:13: note: candidate expects 2 arguments, 1 provided
src/caffe/test/test_stochastic_pooling.cpp:83:30: error: no matching function for call to ‘caffe::PoolingParameter::set_stride(int)’
pooling_param->set_stride(2);
^
src/caffe/test/test_stochastic_pooling.cpp:83:30: note: candidate is:
In file included from ./include/caffe/util/cudnn.hpp:9:0,
from ./include/caffe/util/device_alternate.hpp:40,
from ./include/caffe/common.hpp:19,
from ./include/caffe/blob.hpp:8,
from src/caffe/test/test_stochastic_pooling.cpp:6:
.build_release/src/caffe/proto/caffe.pb.h:20219:13: note: void caffe::PoolingParameter::set_stride(int, google::protobuf::uint32)
inline void PoolingParameter::set_stride(int index, ::google::protobuf::uint32 value) {
^
.build_release/src/caffe/proto/caffe.pb.h:20219:13: note: candidate expects 2 arguments, 1 provided
src/caffe/test/test_stochastic_pooling.cpp: In member function ‘virtual void caffe::GPUStochasticPoolingLayerTest_TestStochasticTestPhase_Test<gtest_TypeParam_>::TestBody()’:
src/caffe/test/test_stochastic_pooling.cpp:125:35: error: no matching function for call to ‘caffe::PoolingParameter::set_kernel_size(int)’
pooling_param->set_kernel_size(3);
^
src/caffe/test/test_stochastic_pooling.cpp:125:35: note: candidate is:
In file included from ./include/caffe/util/cudnn.hpp:9:0,
from ./include/caffe/util/device_alternate.hpp:40,
from ./include/caffe/common.hpp:19,
from ./include/caffe/blob.hpp:8,
from src/caffe/test/test_stochastic_pooling.cpp:6:
.build_release/src/caffe/proto/caffe.pb.h:20194:13: note: void caffe::PoolingParameter::set_kernel_size(int, google::protobuf::uint32)
inline void PoolingParameter::set_kernel_size(int index, ::google::protobuf::uint32 value) {
^
.build_release/src/caffe/proto/caffe.pb.h:20194:13: note: candidate expects 2 arguments, 1 provided
src/caffe/test/test_stochastic_pooling.cpp:126:30: error: no matching function for call to ‘caffe::PoolingParameter::set_stride(int)’
pooling_param->set_stride(2);
^
src/caffe/test/test_stochastic_pooling.cpp:126:30: note: candidate is:
In file included from ./include/caffe/util/cudnn.hpp:9:0,
from ./include/caffe/util/device_alternate.hpp:40,
from ./include/caffe/common.hpp:19,
from ./include/caffe/blob.hpp:8,
from src/caffe/test/test_stochastic_pooling.cpp:6:
.build_release/src/caffe/proto/caffe.pb.h:20219:13: note: void caffe::PoolingParameter::set_stride(int, google::protobuf::uint32)
inline void PoolingParameter::set_stride(int index, ::google::protobuf::uint32 value) {
^
.build_release/src/caffe/proto/caffe.pb.h:20219:13: note: candidate expects 2 arguments, 1 provided
src/caffe/test/test_stochastic_pooling.cpp: In member function ‘virtual void caffe::GPUStochasticPoolingLayerTest_TestGradient_Test<gtest_TypeParam_>::TestBody()’:
src/caffe/test/test_stochastic_pooling.cpp:162:35: error: no matching function for call to ‘caffe::PoolingParameter::set_kernel_size(int)’
pooling_param->set_kernel_size(3);
^
src/caffe/test/test_stochastic_pooling.cpp:162:35: note: candidate is:
In file included from ./include/caffe/util/cudnn.hpp:9:0,
from ./include/caffe/util/device_alternate.hpp:40,
from ./include/caffe/common.hpp:19,
from ./include/caffe/blob.hpp:8,
from src/caffe/test/test_stochastic_pooling.cpp:6:
.build_release/src/caffe/proto/caffe.pb.h:20194:13: note: void caffe::PoolingParameter::set_kernel_size(int, google::protobuf::uint32)
inline void PoolingParameter::set_kernel_size(int index, ::google::protobuf::uint32 value) {
^
.build_release/src/caffe/proto/caffe.pb.h:20194:13: note: candidate expects 2 arguments, 1 provided
src/caffe/test/test_stochastic_pooling.cpp:163:30: error: no matching function for call to ‘caffe::PoolingParameter::set_stride(int)’
pooling_param->set_stride(2);
^
src/caffe/test/test_stochastic_pooling.cpp:163:30: note: candidate is:
In file included from ./include/caffe/util/cudnn.hpp:9:0,
from ./include/caffe/util/device_alternate.hpp:40,
from ./include/caffe/common.hpp:19,
from ./include/caffe/blob.hpp:8,
from src/caffe/test/test_stochastic_pooling.cpp:6:
.build_release/src/caffe/proto/caffe.pb.h:20219:13: note: void caffe::PoolingParameter::set_stride(int, google::protobuf::uint32)
inline void PoolingParameter::set_stride(int index, ::google::protobuf::uint32 value) {
^
.build_release/src/caffe/proto/caffe.pb.h:20219:13: note: candidate expects 2 arguments, 1 provided
make: *** [.build_release/src/caffe/test/test_stochastic_pooling.o] Error 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.