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
Hi yilei0620,
Your work is amazing! I used your deeplab package. It is noticed that the compilation of DeepLab is the same as compiling process as Caffe. I have successfully run 'make all' but I encountered some problems when running 'make test':
src/caffe/test/test_memory_data_layer.cpp:238:3: error: no matching function for call to ‘caffe::MemoryDataLayer::AddMatVector(std::vectorcv::Mat&, std::vector&)’
layer.AddMatVector(mat_vector, label_vector);
^
In file included from src/caffe/test/test_memory_data_layer.cpp:9:0:
./include/caffe/layers/memory_data_layer.hpp:33:16: note: candidate: void caffe::MemoryDataLayer::AddMatVector(const std::vectorcv::Mat&, const std::vector&, const std::vector<std::pair<int, int> >&) [with Dtype = double]
virtual void AddMatVector(const vectorcv::Mat& mat_vector,
^
./include/caffe/layers/memory_data_layer.hpp:33:16: note: candidate expects 3 arguments, 2 provided
src/caffe/test/test_memory_data_layer.cpp:273:3: error: no matching function for call to ‘caffe::MemoryDataLayer::AddMatVector(std::vectorcv::Mat&, std::vector&)’
layer.AddMatVector(mat_vector, label_vector);
^
In file included from src/caffe/test/test_memory_data_layer.cpp:9:0:
./include/caffe/layers/memory_data_layer.hpp:33:16: note: candidate: void caffe::MemoryDataLayer::AddMatVector(const std::vectorcv::Mat&, const std::vector&, const std::vector<std::pair<int, int> >&) [with Dtype = double]
virtual void AddMatVector(const vectorcv::Mat& mat_vector,
^
./include/caffe/layers/memory_data_layer.hpp:33:16: note: candidate expects 3 arguments, 2 provided
src/caffe/test/test_memory_data_layer.cpp: In instantiation of ‘void caffe::MemoryDataLayerTest_AddMatVectorDefaultTransform_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = caffe::CPUDevice]’:
src/caffe/test/test_memory_data_layer.cpp:299:1: required from here
src/caffe/test/test_memory_data_layer.cpp:193:3: error: no matching function for call to ‘caffe::MemoryDataLayer::AddMatVector(std::vectorcv::Mat&, std::vector&)’
layer.AddMatVector(mat_vector, label_vector);
^
In file included from src/caffe/test/test_memory_data_layer.cpp:9:0:
./include/caffe/layers/memory_data_layer.hpp:33:16: note: candidate: void caffe::MemoryDataLayer::AddMatVector(const std::vectorcv::Mat&, const std::vector&, const std::vector<std::pair<int, int> >&) [with Dtype = double]
virtual void AddMatVector(const vectorcv::Mat& mat_vector,
^
./include/caffe/layers/memory_data_layer.hpp:33:16: note: candidate expects 3 arguments, 2 provided
src/caffe/test/test_memory_data_layer.cpp: In instantiation of ‘void caffe::MemoryDataLayerTest_TestForward_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = caffe::CPUDevice]’:
src/caffe/test/test_memory_data_layer.cpp:299:1: required from here
src/caffe/test/test_memory_data_layer.cpp:101:3: error: no matching function for call to ‘caffe::MemoryDataLayer::Reset(double*, double*, int)’
layer->Reset(this->data_->mutable_cpu_data(),
^
In file included from src/caffe/test/test_memory_data_layer.cpp:9:0:
./include/caffe/layers/memory_data_layer.hpp:39:8: note: candidate: void caffe::MemoryDataLayer::Reset(Dtype*, Dtype*, Dtype*, int) [with Dtype = double]
void Reset(Dtype* data, Dtype* label, Dtype* datadims, int n);
^
./include/caffe/layers/memory_data_layer.hpp:39:8: note: candidate expects 4 arguments, 3 provided
src/caffe/test/test_memory_data_layer.cpp: In instantiation of ‘void caffe::MemoryDataLayerTest_TestSetBatchSize_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = caffe::CPUDevice]’:
src/caffe/test/test_memory_data_layer.cpp:299:1: required from here
src/caffe/test/test_memory_data_layer.cpp:238:3: error: no matching function for call to ‘caffe::MemoryDataLayer::AddMatVector(std::vectorcv::Mat&, std::vector&)’
layer.AddMatVector(mat_vector, label_vector);
^
In file included from src/caffe/test/test_memory_data_layer.cpp:9:0:
./include/caffe/layers/memory_data_layer.hpp:33:16: note: candidate: void caffe::MemoryDataLayer::AddMatVector(const std::vectorcv::Mat&, const std::vector&, const std::vector<std::pair<int, int> >&) [with Dtype = float]
virtual void AddMatVector(const vectorcv::Mat& mat_vector,
^
./include/caffe/layers/memory_data_layer.hpp:33:16: note: candidate expects 3 arguments, 2 provided
src/caffe/test/test_memory_data_layer.cpp:273:3: error: no matching function for call to ‘caffe::MemoryDataLayer::AddMatVector(std::vectorcv::Mat&, std::vector&)’
layer.AddMatVector(mat_vector, label_vector);
^
In file included from src/caffe/test/test_memory_data_layer.cpp:9:0:
./include/caffe/layers/memory_data_layer.hpp:33:16: note: candidate: void caffe::MemoryDataLayer::AddMatVector(const std::vectorcv::Mat&, const std::vector&, const std::vector<std::pair<int, int> >&) [with Dtype = float]
virtual void AddMatVector(const vectorcv::Mat& mat_vector,
^
./include/caffe/layers/memory_data_layer.hpp:33:16: note: candidate expects 3 arguments, 2 provided
src/caffe/test/test_memory_data_layer.cpp: In instantiation of ‘void caffe::MemoryDataLayerTest_AddMatVectorDefaultTransform_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = caffe::CPUDevice]’:
src/caffe/test/test_memory_data_layer.cpp:299:1: required from here
src/caffe/test/test_memory_data_layer.cpp:193:3: error: no matching function for call to ‘caffe::MemoryDataLayer::AddMatVector(std::vectorcv::Mat&, std::vector&)’
layer.AddMatVector(mat_vector, label_vector);
^
In file included from src/caffe/test/test_memory_data_layer.cpp:9:0:
./include/caffe/layers/memory_data_layer.hpp:33:16: note: candidate: void caffe::MemoryDataLayer::AddMatVector(const std::vectorcv::Mat&, const std::vector&, const std::vector<std::pair<int, int> >&) [with Dtype = float]
virtual void AddMatVector(const vectorcv::Mat& mat_vector,
^
./include/caffe/layers/memory_data_layer.hpp:33:16: note: candidate expects 3 arguments, 2 provided
src/caffe/test/test_memory_data_layer.cpp: In instantiation of ‘void caffe::MemoryDataLayerTest_TestForward_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = caffe::CPUDevice]’:
src/caffe/test/test_memory_data_layer.cpp:299:1: required from here
src/caffe/test/test_memory_data_layer.cpp:101:3: error: no matching function for call to ‘caffe::MemoryDataLayer::Reset(float*, float*, int)’
layer->Reset(this->data_->mutable_cpu_data(),
^
In file included from src/caffe/test/test_memory_data_layer.cpp:9:0:
./include/caffe/layers/memory_data_layer.hpp:39:8: note: candidate: void caffe::MemoryDataLayer::Reset(Dtype*, Dtype*, Dtype*, int) [with Dtype = float]
void Reset(Dtype* data, Dtype* label, Dtype* datadims, int n);
^
./include/caffe/layers/memory_data_layer.hpp:39:8: note: candidate expects 4 arguments, 3 provided
Makefile:575: recipe for target '.build_release/src/caffe/test/test_memory_data_layer.o' failed
make: *** [.build_release/src/caffe/test/test_memory_data_layer.o] Error 1
Could you help me?
Thank you
The text was updated successfully, but these errors were encountered:
Hi yilei0620,
Your work is amazing! I used your deeplab package. It is noticed that the compilation of DeepLab is the same as compiling process as Caffe. I have successfully run 'make all' but I encountered some problems when running 'make test':
src/caffe/test/test_memory_data_layer.cpp:238:3: error: no matching function for call to ‘caffe::MemoryDataLayer::AddMatVector(std::vectorcv::Mat&, std::vector&)’
layer.AddMatVector(mat_vector, label_vector);
^
In file included from src/caffe/test/test_memory_data_layer.cpp:9:0:
./include/caffe/layers/memory_data_layer.hpp:33:16: note: candidate: void caffe::MemoryDataLayer::AddMatVector(const std::vectorcv::Mat&, const std::vector&, const std::vector<std::pair<int, int> >&) [with Dtype = double]
virtual void AddMatVector(const vectorcv::Mat& mat_vector,
^
./include/caffe/layers/memory_data_layer.hpp:33:16: note: candidate expects 3 arguments, 2 provided
src/caffe/test/test_memory_data_layer.cpp:273:3: error: no matching function for call to ‘caffe::MemoryDataLayer::AddMatVector(std::vectorcv::Mat&, std::vector&)’
layer.AddMatVector(mat_vector, label_vector);
^
In file included from src/caffe/test/test_memory_data_layer.cpp:9:0:
./include/caffe/layers/memory_data_layer.hpp:33:16: note: candidate: void caffe::MemoryDataLayer::AddMatVector(const std::vectorcv::Mat&, const std::vector&, const std::vector<std::pair<int, int> >&) [with Dtype = double]
virtual void AddMatVector(const vectorcv::Mat& mat_vector,
^
./include/caffe/layers/memory_data_layer.hpp:33:16: note: candidate expects 3 arguments, 2 provided
src/caffe/test/test_memory_data_layer.cpp: In instantiation of ‘void caffe::MemoryDataLayerTest_AddMatVectorDefaultTransform_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = caffe::CPUDevice]’:
src/caffe/test/test_memory_data_layer.cpp:299:1: required from here
src/caffe/test/test_memory_data_layer.cpp:193:3: error: no matching function for call to ‘caffe::MemoryDataLayer::AddMatVector(std::vectorcv::Mat&, std::vector&)’
layer.AddMatVector(mat_vector, label_vector);
^
In file included from src/caffe/test/test_memory_data_layer.cpp:9:0:
./include/caffe/layers/memory_data_layer.hpp:33:16: note: candidate: void caffe::MemoryDataLayer::AddMatVector(const std::vectorcv::Mat&, const std::vector&, const std::vector<std::pair<int, int> >&) [with Dtype = double]
virtual void AddMatVector(const vectorcv::Mat& mat_vector,
^
./include/caffe/layers/memory_data_layer.hpp:33:16: note: candidate expects 3 arguments, 2 provided
src/caffe/test/test_memory_data_layer.cpp: In instantiation of ‘void caffe::MemoryDataLayerTest_TestForward_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = caffe::CPUDevice]’:
src/caffe/test/test_memory_data_layer.cpp:299:1: required from here
src/caffe/test/test_memory_data_layer.cpp:101:3: error: no matching function for call to ‘caffe::MemoryDataLayer::Reset(double*, double*, int)’
layer->Reset(this->data_->mutable_cpu_data(),
^
In file included from src/caffe/test/test_memory_data_layer.cpp:9:0:
./include/caffe/layers/memory_data_layer.hpp:39:8: note: candidate: void caffe::MemoryDataLayer::Reset(Dtype*, Dtype*, Dtype*, int) [with Dtype = double]
void Reset(Dtype* data, Dtype* label, Dtype* datadims, int n);
^
./include/caffe/layers/memory_data_layer.hpp:39:8: note: candidate expects 4 arguments, 3 provided
src/caffe/test/test_memory_data_layer.cpp: In instantiation of ‘void caffe::MemoryDataLayerTest_TestSetBatchSize_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = caffe::CPUDevice]’:
src/caffe/test/test_memory_data_layer.cpp:299:1: required from here
src/caffe/test/test_memory_data_layer.cpp:238:3: error: no matching function for call to ‘caffe::MemoryDataLayer::AddMatVector(std::vectorcv::Mat&, std::vector&)’
layer.AddMatVector(mat_vector, label_vector);
^
In file included from src/caffe/test/test_memory_data_layer.cpp:9:0:
./include/caffe/layers/memory_data_layer.hpp:33:16: note: candidate: void caffe::MemoryDataLayer::AddMatVector(const std::vectorcv::Mat&, const std::vector&, const std::vector<std::pair<int, int> >&) [with Dtype = float]
virtual void AddMatVector(const vectorcv::Mat& mat_vector,
^
./include/caffe/layers/memory_data_layer.hpp:33:16: note: candidate expects 3 arguments, 2 provided
src/caffe/test/test_memory_data_layer.cpp:273:3: error: no matching function for call to ‘caffe::MemoryDataLayer::AddMatVector(std::vectorcv::Mat&, std::vector&)’
layer.AddMatVector(mat_vector, label_vector);
^
In file included from src/caffe/test/test_memory_data_layer.cpp:9:0:
./include/caffe/layers/memory_data_layer.hpp:33:16: note: candidate: void caffe::MemoryDataLayer::AddMatVector(const std::vectorcv::Mat&, const std::vector&, const std::vector<std::pair<int, int> >&) [with Dtype = float]
virtual void AddMatVector(const vectorcv::Mat& mat_vector,
^
./include/caffe/layers/memory_data_layer.hpp:33:16: note: candidate expects 3 arguments, 2 provided
src/caffe/test/test_memory_data_layer.cpp: In instantiation of ‘void caffe::MemoryDataLayerTest_AddMatVectorDefaultTransform_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = caffe::CPUDevice]’:
src/caffe/test/test_memory_data_layer.cpp:299:1: required from here
src/caffe/test/test_memory_data_layer.cpp:193:3: error: no matching function for call to ‘caffe::MemoryDataLayer::AddMatVector(std::vectorcv::Mat&, std::vector&)’
layer.AddMatVector(mat_vector, label_vector);
^
In file included from src/caffe/test/test_memory_data_layer.cpp:9:0:
./include/caffe/layers/memory_data_layer.hpp:33:16: note: candidate: void caffe::MemoryDataLayer::AddMatVector(const std::vectorcv::Mat&, const std::vector&, const std::vector<std::pair<int, int> >&) [with Dtype = float]
virtual void AddMatVector(const vectorcv::Mat& mat_vector,
^
./include/caffe/layers/memory_data_layer.hpp:33:16: note: candidate expects 3 arguments, 2 provided
src/caffe/test/test_memory_data_layer.cpp: In instantiation of ‘void caffe::MemoryDataLayerTest_TestForward_Test<gtest_TypeParam_>::TestBody() [with gtest_TypeParam_ = caffe::CPUDevice]’:
src/caffe/test/test_memory_data_layer.cpp:299:1: required from here
src/caffe/test/test_memory_data_layer.cpp:101:3: error: no matching function for call to ‘caffe::MemoryDataLayer::Reset(float*, float*, int)’
layer->Reset(this->data_->mutable_cpu_data(),
^
In file included from src/caffe/test/test_memory_data_layer.cpp:9:0:
./include/caffe/layers/memory_data_layer.hpp:39:8: note: candidate: void caffe::MemoryDataLayer::Reset(Dtype*, Dtype*, Dtype*, int) [with Dtype = float]
void Reset(Dtype* data, Dtype* label, Dtype* datadims, int n);
^
./include/caffe/layers/memory_data_layer.hpp:39:8: note: candidate expects 4 arguments, 3 provided
Makefile:575: recipe for target '.build_release/src/caffe/test/test_memory_data_layer.o' failed
make: *** [.build_release/src/caffe/test/test_memory_data_layer.o] Error 1
Could you help me?
Thank you
The text was updated successfully, but these errors were encountered: