Tongcheng / DN_CaffeScript

128 stars 58 forks source link

compile problem #25

Open 2033329616 opened 4 years ago

2033329616 commented 4 years ago
-- Build files have been written to: /notebooks/caffe-master-new
[  1%] Built target proto
[  1%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_DenseBlock_layer.cu.o
/notebooks/caffe-master-new/src/caffe/layers/DenseBlock_layer.cu(271): error: too few arguments in function call
          detected during instantiation of "void caffe::DenseBlockLayer<Dtype>::Forward_gpu(const std::vector<caffe::Blob<Dtype> *, std::allocator<caffe::Blob<Dtype> *>> &, const std::vector<caffe::Blob<Dtype> *, std::allocator<caffe::Blob<Dtype> *>> &) [with Dtype=float]"
(1017): here

/notebooks/caffe-master-new/src/caffe/layers/DenseBlock_layer.cu(368): error: too few arguments in function call
          detected during:
            instantiation of "void caffe::DenseBlockLayer<Dtype>::GPU_Initialization() [with Dtype=float]"
(505): here
            instantiation of "void caffe::DenseBlockLayer<Dtype>::Forward_gpu(const std::vector<caffe::Blob<Dtype> *, std::allocator<caffe::Blob<Dtype> *>> &, const std::vector<caffe::Blob<Dtype> *, std::allocator<caffe::Blob<Dtype> *>> &) [with Dtype=float]"
(1017): here

/notebooks/caffe-master-new/src/caffe/layers/DenseBlock_layer.cu(368): error: too few arguments in function call
          detected during:
            instantiation of "void caffe::DenseBlockLayer<Dtype>::GPU_Initialization() [with Dtype=double]"
(505): here
            instantiation of "void caffe::DenseBlockLayer<Dtype>::Forward_gpu(const std::vector<caffe::Blob<Dtype> *, std::allocator<caffe::Blob<Dtype> *>> &, const std::vector<caffe::Blob<Dtype> *, std::allocator<caffe::Blob<Dtype> *>> &) [with Dtype=double]"
(1017): here

3 errors detected in the compilation of "/tmp/tmpxft_000047fe_00000000-6_DenseBlock_layer.cpp1.ii".
CMake Error at cuda_compile_1_generated_DenseBlock_layer.cu.o.Release.cmake:279 (message):
  Error generating file
  /notebooks/caffe-master-new/src/caffe/CMakeFiles/cuda_compile_1.dir/layers/./cuda_compile_1_generated_DenseBlock_layer.cu.o

src/caffe/CMakeFiles/caffe.dir/build.make:1143: recipe for target 'src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_DenseBlock_layer.cu.o' failed
make[2]: *** [src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_DenseBlock_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