martinkersner / train-DeepLab

Train DeepLab for Semantic Image Segmentation
MIT License
172 stars 76 forks source link

Throwing error when running the "make test" command #16

Open vismayaps opened 7 years ago

vismayaps commented 7 years ago

I am getting the below mentioned error when running the "make test" command and "make runtest" is also giving error. What kind of error is this ? I want to train the network with a new set of images actually. I am copying the error I am getting below.

|| (cat .build_release/src/caffe/test/test_memory_data_layer.o.warnings.txt; exit 1) src/caffe/test/test_memory_data_layer.cpp: In instantiation of âvoid caffe::MemoryDataLayerTest_TestForward_Test::TestBody() [with gtestTypeParam = caffe::DoubleGPU]â: src/caffe/test/test_memory_data_layer.cpp:167:1: required from here src/caffe/test/test_memory_datalayer.cpp:97:3: error: no matching function for call to âcaffe::MemoryDataLayer::Reset(double, double, int)â layer->Reset(this->data->mutable_cpu_data(), ^ src/caffe/test/test_memory_data_layer.cpp:97:3: note: candidate is: In file included from src/caffe/test/test_memory_data_layer.cpp:4:0: ./include/caffe/data_layers.hpp:280:8: note: void caffe::MemoryDataLayer::Reset(Dtype, Dtype, Dtype, int) [with Dtype = double] void Reset(Dtype data, Dtype label, Dtype data_dim, int n); // Martin Kersner, 2016/04/19 ^ ./include/caffe/data_layers.hpp:280:8: note: candidate expects 4 arguments, 3 provided src/caffe/test/test_memory_data_layer.cpp: In instantiation of âvoid caffe::MemoryDataLayerTest_TestForward_Test::TestBody() [with gtestTypeParam = caffe::FloatGPU]â: src/caffe/test/test_memory_data_layer.cpp:167:1: required from here src/caffe/test/test_memory_datalayer.cpp:97:3: error: no matching function for call to âcaffe::MemoryDataLayer::Reset(float, float, int)â layer->Reset(this->data->mutable_cpu_data(), ^ src/caffe/test/test_memory_data_layer.cpp:97:3: note: candidate is: In file included from src/caffe/test/test_memory_data_layer.cpp:4:0: ./include/caffe/data_layers.hpp:280:8: note: void caffe::MemoryDataLayer::Reset(Dtype, Dtype, Dtype, int) [with Dtype = float] void Reset(Dtype data, Dtype label, Dtype data_dim, int n); // Martin Kersner, 2016/04/19 ^ ./include/caffe/data_layers.hpp:280:8: note: candidate expects 4 arguments, 3 provided src/caffe/test/test_memory_data_layer.cpp: In instantiation of âvoid caffe::MemoryDataLayerTest_TestForward_Test::TestBody() [with gtestTypeParam = caffe::DoubleCPU]â: src/caffe/test/test_memory_data_layer.cpp:167:1: required from here src/caffe/test/test_memory_datalayer.cpp:97:3: error: no matching function for call to âcaffe::MemoryDataLayer::Reset(double, double, int)â layer->Reset(this->data->mutable_cpu_data(), ^ src/caffe/test/test_memory_data_layer.cpp:97:3: note: candidate is: In file included from src/caffe/test/test_memory_data_layer.cpp:4:0: ./include/caffe/data_layers.hpp:280:8: note: void caffe::MemoryDataLayer::Reset(Dtype, Dtype, Dtype, int) [with Dtype = double] void Reset(Dtype data, Dtype label, Dtype data_dim, int n); // Martin Kersner, 2016/04/19 ^ ./include/caffe/data_layers.hpp:280:8: note: candidate expects 4 arguments, 3 provided src/caffe/test/test_memory_data_layer.cpp: In instantiation of âvoid caffe::MemoryDataLayerTest_TestForward_Test::TestBody() [with gtestTypeParam = caffe::FloatCPU]â: src/caffe/test/test_memory_data_layer.cpp:167:1: required from here src/caffe/test/test_memory_datalayer.cpp:97:3: error: no matching function for call to âcaffe::MemoryDataLayer::Reset(float, float, int)â layer->Reset(this->data->mutable_cpu_data(), ^ src/caffe/test/test_memory_data_layer.cpp:97:3: note: candidate is: In file included from src/caffe/test/test_memory_data_layer.cpp:4:0: ./include/caffe/data_layers.hpp:280:8: note: void caffe::MemoryDataLayer::Reset(Dtype, Dtype, Dtype, int) [with Dtype = float] void Reset(Dtype data, Dtype label, Dtype data_dim, int n); // Martin Kersner, 2016/04/19 ^ ./include/caffe/data_layers.hpp:280:8: note: candidate expects 4 arguments, 3 provided make: *** [.build_release/src/caffe/test/test_memory_data_layer.o] Error 1

Dr-papaya commented 7 years ago

I can run "make test" and "make runtest" in the original CAFFE. but here throws the same problem

mkiernan commented 7 years ago

same for me.

sara-eb commented 6 years ago

@KunMRI @mkiernan could you solve your problem?