TheLegendAli / DeepLab-Context2

Other
42 stars 32 forks source link

issue with matio #1

Open sandeepangara opened 8 years ago

sandeepangara commented 8 years ago

Hi @TheLegendAli,

While building DeepLabV2 I have observed the following issue,

ubuntu@ip-172-31-21-77:~/workspace/DeepLab-Context2/build$ cmake .. -- The C compiler identification is GNU 4.8.4 -- The CXX compiler identification is GNU 4.8.4 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Boost version: 1.54.0 -- Found the following Boost libraries: -- system -- thread -- filesystem -- Looking for include file pthread.h -- Looking for include file pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE
-- Found GFlags: /usr/include
-- Found gflags (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libgflags.so) -- Found Glog: /usr/include
-- Found glog (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libglog.so) -- Found PROTOBUF: /usr/lib/x86_64-linux-gnu/libprotobuf.so
-- Found PROTOBUF Compiler: /usr/bin/protoc -- Found HDF5: /usr/lib/x86_64-linux-gnu/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/libhdf5.so
-- Found LMDB: /usr/include
-- Found lmdb (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/liblmdb.so) -- Found LevelDB: /usr/include
-- Found LevelDB (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libleveldb.so) -- Found Snappy: /usr/include
-- Found Snappy (include: /usr/include, library: /usr/lib/libsnappy.so) -- CUDA detected: 7.0 -- Found cuDNN: ver. 4.0.7 found (include: /usr/local/cuda-7.0/include, library: /usr/local/cuda-7.0/lib64/libcudnn.so) -- Added CUDA NVCC flags for: sm_30 -- OpenCV found (/usr/local/share/OpenCV) -- Found Atlas: /usr/include
-- Found Atlas (include: /usr/include, library: /usr/lib/libatlas.so) -- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.6", minimum required is "2.7") -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable version "2.7.6", minimum required is "2.7") -- Found NumPy: /usr/lib/python2.7/dist-packages/numpy/core/include (found suitable version "1.8.2", minimum required is "1.7.1") -- NumPy ver. 1.8.2 found (include: /usr/lib/python2.7/dist-packages/numpy/core/include) -- Boost version: 1.54.0 -- Found the following Boost libraries: -- python -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)

-- Found Git: /usr/bin/git (found version "1.9.1")

-- *** Caffe Configuration Summary *** -- General: -- Version : 1.0.0-rc3 -- Git : 6abd64d -- System : Linux -- C++ compiler : /usr/bin/c++ -- Release CXX flags : -O3 -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-uninitialized -- Debug CXX flags : -g -fPIC -Wall -Wno-sign-compare -Wno-uninitialized

-- Build type : Release

-- BUILD_SHARED_LIBS : ON -- BUILD_python : ON -- BUILD_matlab : OFF -- BUILD_docs : ON -- CPU_ONLY : OFF -- USE_OPENCV : ON -- USE_LEVELDB : ON -- USE_LMDB : ON

-- ALLOW_LMDB_NOLOCK : OFF

-- Dependencies: -- BLAS : Yes (Atlas) -- Boost : Yes (ver. 1.54) -- glog : Yes -- gflags : Yes -- protobuf : Yes (ver. 2.5.0) -- lmdb : Yes (ver. 0.9.10) -- LevelDB : Yes (ver. 1.15) -- Snappy : Yes (ver. 1.1.0) -- OpenCV : Yes (ver. 3.1.0)

-- CUDA : Yes (ver. 7.0)

-- NVIDIA CUDA: -- Target GPU(s) : Auto -- GPU arch(s) : sm_30

-- cuDNN : Yes (ver. 4.0.7)

-- Python: -- Interpreter : /usr/bin/python2.7 (ver. 2.7.6) -- Libraries : /usr/lib/x86_64-linux-gnu/libpython2.7.so (ver 2.7.6)

-- NumPy : /usr/lib/python2.7/dist-packages/numpy/core/include (ver 1.8.2)

-- Documentaion: -- Doxygen : No

-- config_file :

-- Install:

-- Install path : /home/ubuntu/workspace/DeepLab-Context2/build/install

-- Configuring done -- Generating done -- Build files have been written to: /home/ubuntu/workspace/DeepLab-Context2/build ubuntu@ip-172-31-21-77:~/workspace/DeepLab-Context2/build$ make -j32 all [ 1%] Running C++/Python protocol buffer compiler on /home/ubuntu/workspace/DeepLab-Context2/src/caffe/proto/caffe.proto Scanning dependencies of target proto [ 1%] Building CXX object src/caffe/CMakeFiles/proto.dir///include/caffe/proto/caffe.pb.cc.o Linking CXX static library ../../lib/libproto.a [ 1%] Built target proto [ 1%] [ 1%] [ 1%] [ 2%] [ 2%] [ 2%] [ 4%] [ 5%] [ 5%] [ 5%] [ 5%] [ 7%] [ 9%] [ 9%] [ 9%] [ 9%] [ 11%] [ 11%] [ 12%] [ 12%] [ 14%] [ 14%] [ 14%] [ 14%] [ 15%] [ 15%] [ 15%] [ 15%] [ 16%] [ 16%] [ 16%] [ 16%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/solvers/./cuda_compile_generated_sgd_solver.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_silence_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_batch_reindex_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_embed_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_softmax_loss_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_sigmoid_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_cudnn_pooling_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_spatial_product_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_log_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_domain_transform_forward_only_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_concat_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_eltwise_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_inner_product_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_power_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_cudnn_tanh_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_threshold_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_reduction_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_im2col_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_deconv_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_dropout_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_cudnn_lcn_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_bnll_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_absval_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_cudnn_sigmoid_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_hdf5_output_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_tile_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_mvn_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_relu_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_pooling_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_domain_transform_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_cudnn_lrn_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_filter_layer.cu.o [ 18%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_hdf5_data_layer.cu.o [ 18%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_euclidean_loss_layer.cu.o [ 18%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_tanh_layer.cu.o [ 19%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_sigmoid_cross_entropy_loss_layer.cu.o [ 19%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_bias_layer.cu.o [ 21%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_scale_layer.cu.o [ 21%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_base_data_layer.cu.o [ 21%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_contrastive_loss_layer.cu.o [ 22%] [ 22%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_exp_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_lrn_layer.cu.o [ 22%] [ 23%] [ 23%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_cudnn_conv_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_elu_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_slice_layer.cu.o [ 25%] [ 25%] [ 25%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_conv_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_split_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_prelu_layer.cu.o [ 26%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_cudnn_relu_layer.cu.o [ 26%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_softmax_layer.cu.o [ 26%] [ 28%] [ 28%] [ 29%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_cudnn_softmax_layer.cu.o [ 29%] [ 29%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_batch_norm_layer.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/util/./cuda_compile_generated_im2col.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/util/./cuda_compile_generated_math_functions.cu.o [ 30%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/solvers/./cuda_compile_generated_adagrad_solver.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/util/./cuda_compile_generated_interp.cu.o [ 30%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/solvers/./cuda_compile_generated_adadelta_solver.cu.o [ 30%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/solvers/./cuda_compile_generated_rmsprop_solver.cu.o Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/solvers/./cuda_compile_generated_nesterov_solver.cu.o [ 32%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/solvers/./cuda_compile_generated_adam_solver.cu.o Scanning dependencies of target caffe [ 33%] [ 33%] [ 33%] [ 35%] [ 35%] [ 36%] [ 36%] [ 36%] [ 38%] [ 38%] [ 39%] [ 40%] [ 40%] [ 40%] [ 42%] [ 42%] [ 43%] [ 43%] [ 43%] [ 45%] [ 45%] [ 45%] [ 45%] [ 45%] [ 47%] Building CXX object src/caffe/CMakeFiles/caffe.dir/net.cpp.o [ 47%] [ 47%] [ 47%] [ 47%] Building CXX object src/caffe/CMakeFiles/caffe.dir/common.cpp.o [ 49%] [ 49%] Building CXX object src/caffe/CMakeFiles/caffe.dir/blob.cpp.o [ 49%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layer_factory.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/data_transformer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/mat_write_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/elu_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/data_reader.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/seg_accuracy_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_relu_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/window_data_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/infogain_loss_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/spp_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/mat_read_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/batch_norm_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/euclidean_loss_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/bnll_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/inner_product_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/hdf5_output_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/tanh_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/contrastive_loss_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/softmax_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_pooling_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/multinomial_logistic_loss_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/bias_channel_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/split_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/dummy_data_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/silence_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/adaptive_bias_channel_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/pooling_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_conv_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/base_conv_layer.cpp.o [ 50%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/accuracy_layer.cpp.o [ 50%] [ 50%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/mvn_layer.cpp.o [ 52%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/hinge_loss_layer.cpp.o [ 52%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/reduction_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/dropout_layer.cpp.o [ 53%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/threshold_layer.cpp.o [ 53%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/scale_layer.cpp.o [ 53%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_softmax_layer.cpp.o [ 54%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/eltwise_layer.cpp.o [ 54%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_tanh_layer.cpp.o [ 56%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/data_layer.cpp.o [ 56%] [ 56%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/sigmoid_layer.cpp.o [ 57%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/memory_data_layer.cpp.o [ 57%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/conv_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/exp_layer.cpp.o [ 57%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/log_layer.cpp.o [ 59%] [ 59%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/spatial_product_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_lcn_layer.cpp.o [ 60%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/batch_reindex_layer.cpp.o [ 60%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/embed_layer.cpp.o [ 60%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/densecrf_layer.cpp.o [ 61%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/concat_layer.cpp.o [ 61%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/domain_transform_forward_only_layer.cpp.o [ 61%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/domain_transform_layer.cpp.o [ 63%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/im2col_layer.cpp.o [ 63%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/bias_layer.cpp.o [ 64%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/filter_layer.cpp.o [ 64%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/image_data_layer.cpp.o [ 64%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/reshape_layer.cpp.o [ 66%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/power_layer.cpp.o [ 66%] [ 66%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/absval_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/argmax_layer.cpp.o [ 67%] [ 67%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_sigmoid_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/flatten_layer.cpp.o [ 69%] [ 69%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/hdf5_data_layer.cpp.o [ 69%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/cudnn_lrn_layer.cpp.o [ 70%] [ 70%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/softmax_loss_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/image_seg_data_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/prelu_layer.cpp.o [ 71%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/slice_layer.cpp.o [ 71%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/sigmoid_cross_entropy_loss_layer.cpp.o [ 71%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/relu_layer.cpp.o [ 71%] [ 73%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/deconv_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/loss_layer.cpp.o [ 73%] [ 74%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/interp_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/lrn_layer.cpp.o [ 74%] [ 76%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/tile_layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/base_data_layer.cpp.o [ 76%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/neuron_layer.cpp.o [ 76%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/unique_label_layer.cpp.o [ 77%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/matio_io.cpp.o [ 77%] [ 77%] [ 78%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/confusion_matrix.cpp.o [ 78%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/insert_splits.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/util/permutohedral.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/util/benchmark.cpp.o [ 80%] [ 80%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/db.cpp.o [ 80%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/cudnn.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/util/upgrade_proto.cpp.o [ 81%] [ 81%] [ 81%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/io.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/util/blocking_queue.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/util/im2col.cpp.o [ 83%] [ 83%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/db_lmdb.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/util/db_leveldb.cpp.o [ 84%] [ 84%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/interp.cpp.o [ 84%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/densecrf_util.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/util/densecrf_pairwise.cpp.o [ 85%] [ 85%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/math_functions.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/util/signal_handler.cpp.o [ 85%] [ 87%] Building CXX object src/caffe/CMakeFiles/caffe.dir/util/hdf5.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/syncedmem.cpp.o [ 87%] [ 88%] [ 88%] [ 88%] [ 90%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layer.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/internal_thread.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/parallel.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/solver.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/solvers/sgd_solver.cpp.o [ 90%] [ 91%] [ 91%] Building CXX object src/caffe/CMakeFiles/caffe.dir/solvers/adagrad_solver.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/solvers/nesterov_solver.cpp.o [ 91%] Building CXX object src/caffe/CMakeFiles/caffe.dir/solvers/adam_solver.cpp.o [ 92%] Building CXX object src/caffe/CMakeFiles/caffe.dir/solvers/adadelta_solver.cpp.o Building CXX object src/caffe/CMakeFiles/caffe.dir/solvers/rmsprop_solver.cpp.o Linking CXX shared library ../../lib/libcaffe.so [ 92%] Built target caffe Scanning dependencies of target caffe.bin Scanning dependencies of target compute_image_mean Scanning dependencies of target convert_imageset Scanning dependencies of target device_query Scanning dependencies of target extract_features Scanning dependencies of target finetune_net Scanning dependencies of target net_speed_benchmark Scanning dependencies of target upgrade_net_proto_text Scanning dependencies of target upgrade_solver_proto_text Scanning dependencies of target test_net Scanning dependencies of target convert_cifar_data Scanning dependencies of target train_net Scanning dependencies of target upgrade_net_proto_binary Scanning dependencies of target convert_mnist_data Scanning dependencies of target classification Scanning dependencies of target convert_mnist_siamese_data Scanning dependencies of target pycaffe [ 92%] Building CXX object examples/CMakeFiles/convert_mnist_data.dir/mnist/convert_mnist_data.cpp.o [ 94%] [ 95%] [ 95%] [ 97%] [ 97%] Building CXX object tools/CMakeFiles/device_query.dir/device_query.cpp.o Building CXX object examples/CMakeFiles/convert_cifar_data.dir/cifar10/convert_cifar_data.cpp.o Building CXX object tools/CMakeFiles/compute_image_mean.dir/compute_image_mean.cpp.o Building CXX object tools/CMakeFiles/convert_imageset.dir/convert_imageset.cpp.o [ 97%] [ 97%] Building CXX object examples/CMakeFiles/convert_mnist_siamese_data.dir/siamese/convert_mnist_siamese_data.cpp.o [ 98%] [ 98%] [ 98%] [ 98%] [ 98%] [ 98%] [100%] Building CXX object tools/CMakeFiles/extract_features.dir/extract_features.cpp.o Building CXX object tools/CMakeFiles/caffe.bin.dir/caffe.cpp.o Building CXX object tools/CMakeFiles/net_speed_benchmark.dir/net_speed_benchmark.cpp.o Building CXX object tools/CMakeFiles/finetune_net.dir/finetune_net.cpp.o Building CXX object tools/CMakeFiles/upgrade_solver_proto_text.dir/upgrade_solver_proto_text.cpp.o Building CXX object tools/CMakeFiles/upgrade_net_proto_text.dir/upgrade_net_proto_text.cpp.o Building CXX object tools/CMakeFiles/train_net.dir/train_net.cpp.o Building CXX object tools/CMakeFiles/test_net.dir/test_net.cpp.o Building CXX object tools/CMakeFiles/upgrade_net_proto_binary.dir/upgrade_net_proto_binary.cpp.o [100%] [100%] Building CXX object examples/CMakeFiles/classification.dir/cpp_classification/classification.cpp.o Building CXX object python/CMakeFiles/pycaffe.dir/caffe/_caffe.cpp.o Linking CXX executable mnist/convert_mnist_data Linking CXX executable device_query [100%] Built target device_query ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarCreate' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_CreateVer' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarWrite' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_VarFree' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarReadInfo' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_Close' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarReadDataLinear' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_Open' collect2: error: ld returned 1 exit status make[2]: * [examples/mnist/convert_mnist_data] Error 1 make[1]: * [examples/CMakeFiles/convert_mnist_data.dir/all] Error 2 make[1]: * Waiting for unfinished jobs.... Linking CXX executable siamese/convert_mnist_siamese_data Linking CXX executable cifar10/convert_cifar_data ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarCreate' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_CreateVer' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarWrite' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_VarFree' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarReadInfo' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_Close' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarReadDataLinear' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_Open' collect2: error: ld returned 1 exit status make[2]: * [examples/siamese/convert_mnist_siamese_data] Error 1 make[1]: * [examples/CMakeFiles/convert_mnist_siamese_data.dir/all] Error 2 ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarCreate' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_CreateVer' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarWrite' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_VarFree' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarReadInfo' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_Close' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarReadDataLinear' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_Open' collect2: error: ld returned 1 exit status make[2]: * [examples/cifar10/convert_cifar_data] Error 1 make[1]: * [examples/CMakeFiles/convert_cifar_data.dir/all] Error 2 Linking CXX executable compute_image_mean ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarCreate' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_CreateVer' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarWrite' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_VarFree' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarReadInfo' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_Close' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarReadDataLinear' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_Open' collect2: error: ld returned 1 exit status make[2]: * [tools/compute_image_mean] Error 1 make[1]: * [tools/CMakeFiles/compute_image_mean.dir/all] Error 2 Linking CXX executable convert_imageset ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarCreate' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_CreateVer' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarWrite' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_VarFree' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarReadInfo' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_Close' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarReadDataLinear' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_Open' collect2: error: ld returned 1 exit status make[2]: * [tools/convert_imageset] Error 1 make[1]: * [tools/CMakeFiles/convert_imageset.dir/all] Error 2 Linking CXX executable net_speed_benchmark Linking CXX executable test_net [100%] Built target net_speed_benchmark Linking CXX executable upgrade_net_proto_text Linking CXX executable upgrade_solver_proto_text [100%] Built target test_net Linking CXX executable train_net Linking CXX executable finetune_net ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarCreate' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_CreateVer' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarWrite' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_VarFree' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarReadInfo' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_Close' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarReadDataLinear' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_Open' collect2: error: ld returned 1 exit status ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarCreate' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_CreateVer' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarWrite' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_VarFree' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarReadInfo' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_Close' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarReadDataLinear' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_Open' collect2: error: ld returned 1 exit status make[2]: * [tools/upgrade_net_proto_text] Error 1 make[1]: * [tools/CMakeFiles/upgrade_net_proto_text.dir/all] Error 2 make[2]: * [tools/upgrade_solver_proto_text] Error 1 make[1]: * [tools/CMakeFiles/upgrade_solver_proto_text.dir/all] Error 2 [100%] Linking CXX executable upgrade_net_proto_binary Built target train_net [100%] Built target finetune_net ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarCreate' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_CreateVer' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarWrite' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_VarFree' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarReadInfo' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_Close' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarReadDataLinear' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_Open' collect2: error: ld returned 1 exit status make[2]: * [tools/upgrade_net_proto_binary] Error 1 make[1]: * [tools/CMakeFiles/upgrade_net_proto_binary.dir/all] Error 2 Linking CXX executable extract_features ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarCreate' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_CreateVer' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarWrite' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_VarFree' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarReadInfo' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_Close' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarReadDataLinear' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_Open' collect2: error: ld returned 1 exit status make[2]: * [tools/extract_features] Error 1 make[1]: * [tools/CMakeFiles/extract_features.dir/all] Error 2 Linking CXX executable cpp_classification/classification ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarCreate' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_CreateVer' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarWrite' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_VarFree' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarReadInfo' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_Close' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarReadDataLinear' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_Open' collect2: error: ld returned 1 exit status make[2]: * [examples/cpp_classification/classification] Error 1 make[1]: * [examples/CMakeFiles/classification.dir/all] Error 2 Linking CXX executable caffe ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarCreate' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_CreateVer' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarWrite' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_VarFree' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarReadInfo' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_Close' ../lib/libcaffe.so.1.0.0-rc3: undefined reference to Mat_VarReadDataLinear' ../lib/libcaffe.so.1.0.0-rc3: undefined reference toMat_Open' collect2: error: ld returned 1 exit status make[2]: * [tools/caffe] Error 1 make[1]: * [tools/CMakeFiles/caffe.bin.dir/all] Error 2 Linking CXX shared library ../lib/_caffe.so Creating symlink /home/ubuntu/workspace/DeepLab-Context2/python/caffe/_caffe.so -> /home/ubuntu/workspace/DeepLab-Context2/build/lib/_caffe.so [100%] Built target pycaffe make: * [all] Error 2

Could you please help me....

TheLegendAli commented 8 years ago

sorry just saw this.

Were you able to figure it out?

Did you try running "make all"?

ksnzh commented 8 years ago

Maybe https://github.com/TheLegendAli/DeepLab-Context/issues/8 can help you?

ksnzh commented 8 years ago

Follow the link https://github.com/TheLegendAli/DeepLab-Context/issues/8, it will solve your problem.

It works to me.

askerlee commented 7 years ago

(Based on @anssandeep 's method:) Append the following to cmake/Dependencies.cmake:

find_package(MATIO REQUIRED)
include_directories(${MATIO_INCLUDE_DIR})
list(APPEND Caffe_LINKER_LIBS ${MATIO_LIBRARIES})

Then put @anssandeep 's FindMATIO.cmake into cmake/Modules/ Done.