dsisds / caffe-sppnet Goto Github PK
View Code? Open in Web Editor NEWdetection-developing
License: BSD 2-Clause "Simplified" License
detection-developing
License: BSD 2-Clause "Simplified" License
hello, I get this error when compiling it:
`nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
src/caffe/util/math_functions.cu(181): error: calling a host function("std::signbit ") from a global function("caffe::sgnbit_kernel ") is not allowed
src/caffe/util/math_functions.cu(181): error: calling a host function("std::signbit ") from a global function("caffe::sgnbit_kernel ") is not allowed
2 errors detected in the compilation of "/tmp/tmpxft_00002086_00000000-19_math_functions.compute_61.cpp1.ii".
Makefile:466: recipe for target '.build_release/src/caffe/util/math_functions.cuo' failed
make: *** [.build_release/src/caffe/util/math_functions.cuo] Error 1
and when I run
git checkout dev`, it shows error:
error: pathspec 'dev' did not match any file(s) known to git.
how to fix it? can you give some advises? thank you very much~~
Hi,
I added SPP layer into my network in Caffe official version as:
layers {
name: "spatial_pyramid_pooling"
type: "SPP"
bottom: "pool5"
top: "spatial_pyramid_pooling"
spatial_pyramid_pooling_param {
pool: MAX
spatial_bin: 1
spatial_bin: 2
spatial_bin: 3
spatial_bin: 6
scale: 1
}
}
It launchs the following error while train step:
Error parsing text-format caffe.NetParameter: 262:9: Expected integer or identifier.
F0130 11:18:58.817456 5416 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: examples/glioma/alexnet_spp_new.prototxt
I'm trying with and works as:
layer {
name: "spatial_pyramid_pooling"
type: "SPP"
bottom: "pool5"
top: "spatial_pyramid_pooling"
spp_param {
pyramid_height: 2
}
}
Do I have to add some to layer .hpp?
Thanks.
Hi, @dsisds , The link in get_caffe_reference_imagenet_model.sh for downloading the caffe_reference_imagenet_model in dropbox is invalid now. Could you pls. update it?
Hi,
I'm trying to launch voc2012_sppnet and it returns de following error:
[libprotobuf ERROR google/protobuf/text_format.cc:274] Error parsing text-format caffe.NetParameter: 208:9: Expected integer or identifier
208:9 line corrsponding to type of spp_net
(I'm using other caffe version but it contains spp_net.hpp layer and in other times it worked)
Then I change in the net layer the spp-net type to "SPP" because in other cases it worked but in other nets built for me:
layers {
name: "spatial_pyramid_pooling"
type: "SPP"
bottom: "conv5"
top: "spatial_pyramid_pooling"
spatial_pyramid_pooling_param {
pool: MAX
spatial_bin: 1
spatial_bin: 2
spatial_bin: 3
spatial_bin: 6
scale: 1
}
}
However, the error continues. Trying with other net built for me type:"SPP" works.
Do you suggest some change? Do you use any special layer spp-net structure ?
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.