Giter Club home page Giter Club logo

Comments (3)

kingmacth avatar kingmacth commented on May 24, 2024

我编译提示如下错误:`[ 0%] Running C++/Python protocol buffer compiler on /home/MobileNet-YOLO-master/src/caffe/proto/caffe.proto
Scanning dependencies of target caffeproto
[ 0%] Building CXX object src/caffe/CMakeFiles/caffeproto.dir///include/caffe/proto/caffe.pb.cc.o
[ 1%] Linking CXX static library ../../lib/libcaffeproto.a
[ 1%] Built target caffeproto
[ 1%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_clip_layer.cu.o
/home/MobileNet-YOLO-master/src/caffe/layers/clip_layer.cu(27): error: class "caffe::LayerParameter" has no member "clip_param"
detected during instantiation of "void caffe::ClipLayer::Forward_gpu(const std::vector<caffe::Blob *, std::allocator<caffe::Blob *>> &, const std::vector<caffe::Blob *, std::allocator<caffe::Blob *>> &) [with Dtype=float]"
(63): here

/home/MobileNet-YOLO-master/src/caffe/layers/clip_layer.cu(28): error: class "caffe::LayerParameter" has no member "clip_param"
detected during instantiation of "void caffe::ClipLayer::Forward_gpu(const std::vector<caffe::Blob *, std::allocator<caffe::Blob *>> &, const std::vector<caffe::Blob *, std::allocator<caffe::Blob *>> &) [with Dtype=float]"
(63): here

/home/MobileNet-YOLO-master/src/caffe/layers/clip_layer.cu(53): error: class "caffe::LayerParameter" has no member "clip_param"
detected during instantiation of "void caffe::ClipLayer::Backward_gpu(const std::vector<caffe::Blob *, std::allocator<caffe::Blob *>> &, const std::vector<__nv_bool, std::allocator<__nv_bool>> &, const std::vector<caffe::Blob *, std::allocator<caffe::Blob *>> &) [with Dtype=float]"
(63): here

/home/MobileNet-YOLO-master/src/caffe/layers/clip_layer.cu(54): error: class "caffe::LayerParameter" has no member "clip_param"
detected during instantiation of "void caffe::ClipLayer::Backward_gpu(const std::vector<caffe::Blob *, std::allocator<caffe::Blob *>> &, const std::vector<__nv_bool, std::allocator<__nv_bool>> &, const std::vector<caffe::Blob *, std::allocator<caffe::Blob *>> &) [with Dtype=float]"
(63): here

/home/MobileNet-YOLO-master/src/caffe/layers/clip_layer.cu(27): error: class "caffe::LayerParameter" has no member "clip_param"
detected during instantiation of "void caffe::ClipLayer::Forward_gpu(const std::vector<caffe::Blob *, std::allocator<caffe::Blob *>> &, const std::vector<caffe::Blob *, std::allocator<caffe::Blob *>> &) [with Dtype=double]"
(63): here

/home/MobileNet-YOLO-master/src/caffe/layers/clip_layer.cu(28): error: class "caffe::LayerParameter" has no member "clip_param"
detected during instantiation of "void caffe::ClipLayer::Forward_gpu(const std::vector<caffe::Blob *, std::allocator<caffe::Blob *>> &, const std::vector<caffe::Blob *, std::allocator<caffe::Blob *>> &) [with Dtype=double]"
(63): here

/home/MobileNet-YOLO-master/src/caffe/layers/clip_layer.cu(53): error: class "caffe::LayerParameter" has no member "clip_param"
detected during instantiation of "void caffe::ClipLayer::Backward_gpu(const std::vector<caffe::Blob *, std::allocator<caffe::Blob *>> &, const std::vector<__nv_bool, std::allocator<__nv_bool>> &, const std::vector<caffe::Blob *, std::allocator<caffe::Blob *>> &) [with Dtype=double]"
(63): here

/home/MobileNet-YOLO-master/src/caffe/layers/clip_layer.cu(54): error: class "caffe::LayerParameter" has no member "clip_param"
detected during instantiation of "void caffe::ClipLayer::Backward_gpu(const std::vector<caffe::Blob *, std::allocator<caffe::Blob *>> &, const std::vector<__nv_bool, std::allocator<__nv_bool>> &, const std::vector<caffe::Blob *, std::allocator<caffe::Blob *>> &) [with Dtype=double]"
(63): here

8 errors detected in the compilation of "/tmp/tmpxft_00001518_00000000-6_clip_layer.cpp1.ii".
CMake Error at cuda_compile_generated_clip_layer.cu.o.cmake:266 (message):
Error generating file
/home/MobileNet-YOLO-master/build/src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_clip_layer.cu.o

src/caffe/CMakeFiles/caffe.dir/build.make:1120: recipe for target 'src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_clip_layer.cu.o' failed
make[2]: *** [src/caffe/CMakeFiles/cuda_compile.dir/layers/cuda_compile_generated_clip_layer.cu.o] Error 1
CMakeFiles/Makefile2:304: recipe for target 'src/caffe/CMakeFiles/caffe.dir/all' failed
make[1]: *** [src/caffe/CMakeFiles/caffe.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2`

我尝试编译BLVC版本是正确的。在YOLO这个版本中添加层与BLVC版本有区别么?需要额外做什么操作?

from mobilenet-yolo.

crazybill-first avatar crazybill-first commented on May 24, 2024

e,看样子好像是你的caffe::LayerParameter没有写对,检查过了吗?

from mobilenet-yolo.

crazybill-first avatar crazybill-first commented on May 24, 2024

e,看样子好像是你的caffe::LayerParameter没有写对,检查过了吗?

from mobilenet-yolo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.