GithubHelp home page GithubHelp logo

locnet's Introduction

LocNet: Improving Localization Accuracy for Object Detection

Introduction

This code implements the following CVPR 2016 paper (accepted for oral presentation):
Title: "LocNet: Improving Localization Accuracy for Object Detection"
Authors: Spyros Gidaris, Nikos Komodakis
Institution: Universite Paris Est, Ecole des Ponts ParisTech
ArXiv Link: http://arxiv.org/abs/1511.07763
Code: https://github.com/gidariss/LocNet

Abstract:
"We propose a novel object localization methodology with the purpose of boosting the localization accuracy of state-of-the-art object detection systems. Our model, given a search region, aims at returning the bounding box of an object of interest inside this region. To accomplish its goal, it relies on assigning conditional probabilities to each row and column of this region, where these probabilities provide useful information regarding the location of the boundaries of the object inside the search region and allow the accurate inference of the object bounding box under a simple probabilistic framework.
For implementing our localization model, we make use of a convolutional neural network architecture that is properly adapted for this task, called LocNet. We show experimentally that LocNet achieves a very significant improvement on the mAP for high IoU thresholds on PASCAL VOC2007 test set and that it can be very easily coupled with recent state-of-the-art object detection systems, helping them to boost their performance. Finally, we demonstrate that our detection approach can achieve high detection accuracy even when it is given as input a set of sliding windows, thus proving that it is independent of region proposal methods."

Citing LocNet

If you find LocNet useful in your research, please consider citing:

@inproceedings{gidaris2016locnet,
title={LocNet: Improving Localization Accuracy for Object Detection},
author={Gidaris, Spyros and Komodakis, Nikos},
booktitle={Computer Vision and Pattern Recognition (CVPR), 2016 IEEE Conference on},
year={2016}
}

License

This code is released under the MIT License (refer to the LICENSE file for details).

Requirements

Hardware:
For training the LocNet models or testing the LocNet object detection pipeline you will require a GPU with at least 6 Gbytes of memory.

Software:

  1. Modified version of Caffe developed to supprot LocNet and installed with the cuDNN library [link].
  2. MATLAB (tested with R2014b)

Optional:
The following packages are necessary for using the EdgeBox or Selective Search bounding box proposas algorithms:

  1. Edge Boxes code [link].
  2. The image processing MATLAB toolbox of Piotr Dollar (used for the Edge Boxes) [link].
  3. Selective search code [link].

Note: we provide the bounding box proposals of PASCAL images and hence installing the above packages is not necessary for training or testing models on this dataset. However, they are necessary for running the demo code on images other than the one that is provided by us.

Installation (sufficient for the demo)

  1. Download and install this modified version of Caffe developed to supprot LocNet. To clone Caffe on your local machine:
    # $caffe_LocNet: directory where Caffe will be cloned  
    git clone https://github.com/gidariss/caffe_LocNet $caffe_LocNet

$caffe_LocNet is the directory where Caffe is cloned. After cloning Caffe follow the installation instructions here. Note that you have to install Caffe with the cuDNN library.
2. Clone the LocNet code in your local machine: ```Shell

# $LocNet: directory where LocNet will be cloned  
git clone https://github.com/gidariss/LocNet $LocNet
``` 

From now on, the directory where LocNet was cloned will be called $LocNet.
3. Create a symbolic link of Caffe installatation directory at $LocNet/external/:
```Shell

# $LocNet: directory where LocNet was cloned    
# $caffe_LoNet: directory where caffe was cloned    
ln -sf $caffe_LoNet $LocNet/external/caffe_LocNet    
```      
  1. open matlab from the $LocNet/ directory:
    cd $LocNet  
    matlab  
  2. Run the LocNet_build.m script on matlab command line
    # matlab command line enviroment
    >> LocNet_build    

Do not worry about the warning messages. They also appear on my machine.

Download and use the pre-trained models

Download the tar.gz files with the pre-trained models:
Recognition models:

  1. Reduced MR-CNN recognition model.
  2. Fast RCNN recognition model (re-implemented by us).
    Localization models:
  3. LocNet In-Out model.
  4. LocNet Borders model.
  5. LocNet Combined model.
  6. CNN-based bounding box regression model.

Untar and unzip all of the above files on the following locations:

# Recognition models:
$LocNet/models-exps/VGG16_Reduced_MRCNN # Reduced MR-CNN recognition model
$LocNet/models-exps/VGG16_FastRCNN # Fast RCNN recognition model
# VOC2012 structure:
$LocNet/models-exps/VGG16_LocNet_InOut # LocNet In-Out model
$LocNet/models-exps/VGG16_LocNet_Borders # LocNet Borders model
$LocNet/models-exps/VGG16_LocNet_Combined # LocNet Combined model
$LocNet/models-exps/VGG16_BBoxReg # CNN-based bounding box regression model

All of the above models are based on the VGG16-Net and are trained on the union of VOC2007 train+val plus VOC2012 train+val datasets. Note that they are not the same as those used to report result in the paper and hense their performance is slightly different from them (around 0.2 mAP points difference more or less in the percentage scale).

Demo

After having complete the basic installation, you will be able to run the demo of object detection based on the LocNet localization models. In order to do that, open the matlab from $LocNet/ directory and then run the script 'demo_LocNet_object_detection_pipeline' from the matlab command line enviroment:

cd $LocNet
matlab
# matlab command line enviroment
>> demo_LocNet_object_detection_pipeline    

Note: you will require a GPU with at least 6 Gbytes of memory in order to run the demo.

In order to play with the parameters of the object detection pipeline read and edit the demo script:

# matlab command line enviroment
>> edit demo_LocNet_object_detection_pipeline.m   

Installing and using the box proposals algorithms (Optional)

First install 1) Edge Boxes, 2) Dollar's image processing MATLAB toolbox (used in Edge Boxes), and 3) Selective Search. Then, create symbolic links of the installation directories at $LocNet/external/:

# $edges: installation directory of Edge Boxes     
ln -sf $edges $LocNet/external/edges   
# $pdollar-toolbox: installation directory of Dollar's image processing MATLAB toolbox  
ln -sf $pdollar-toolbox $LocNet/external/pdollar-toolbox  
# $selective_search: installation directory of selective search code  
ln -sf $selective_search $LocNet/external/selective_search  

The above packages are necessary in case you want to try the demo on an image of your choise.

Downloading and preparing the PASCAL VOC2007 and VOC2012 datasets

In order to run experiments (e.g. train or test models) on PASCAL VOC datasets you will need to download and prepare the corresponding data. For that purpose you will have to:

  1. Download the VOC datasets and VOCdevkit:
    # VOC2007 DATASET
     wget http://host.robots.ox.ac.uk/pascal/VOC/voc2007/VOCtrainval_06-Nov-2007.tar # VOC2007 train+val set
     wget http://host.robots.ox.ac.uk/pascal/VOC/voc2007/VOCtest_06-Nov-2007.tar # VOC2007 test set
     wget http://host.robots.ox.ac.uk/pascal/VOC/voc2007/VOCdevkit_08-Jun-2007.tar # VOC2007 devkit
     # VOC2012 DATASET
     wget http://host.robots.ox.ac.uk/pascal/VOC/voc2012/VOCtrainval_11-May-2012.tar # VOC2012 train+val set
     wget http://host.robots.ox.ac.uk/pascal/VOC/voc2012/VOCdevkit_18-May-2011.tar  # VOC2012 devkit
  2. Untar the VOC2007 tar files in a directory named $datasets/VOC2007/VOCdevkit and the VOC2012 tar files in a directory named $datasets/VOC2012/VOCdevkit:
    mkdir $dataset
    # VOC2007 data:
     mkdir $datasets/VOC2007
     mkdir $datasets/VOC2007/VOCdevkit
     tar xvf VOCtrainval_06-Nov-2007.tar  -C $datasets/VOC2007/VOCdevkit
     tar xvf VOCtest_06-Nov-2007.tar -C $datasets/VOC2007/VOCdevkit
     tar xvf VOCdevkit_08-Jun-2007.tar -C $datasets/VOC2007/VOCdevkit
    # VOC2012 data:
     mkdir $datasets/VOC2012
     mkdir $datasets/VOC2012/VOCdevkit
     tar xvf VOCtrainval_11-May-2012.tar -C $datasets/VOC2012/VOCdevkit
     tar xvf VOCdevkit_18-May-2011.tar -C $datasets/VOC2012/VOCdevkit
  3. They should have the following structure:
    # VOC2007 structure:
    $datasets/VOC2007/VOCdevkit/ # VOC2007 development kit
    $datasets/VOC2007/VOCdevkit/VOCcode/ # VOC2007 development kit code
    $datasets/VOC2007/VOCdevkit/VOC2007/ # VOC2007 images, annotations, etc 
    # VOC2012 structure:
    $datasets/VOC2012/VOCdevkit/ # VOC2012 development kit
    $datasets/VOC2012/VOCdevkit/VOCcode/ # VOC2012 development kit code
    $datasets/VOC2012/VOCdevkit/VOC2012/ # VOC2012 images, annotations, etc 
  4. Create symlink of the $datasets directory at $LocNet/datasets:
    ln -sf $datasets $LocNet/datasets  
  5. Download the pre-computed Edge Box and Selective Search proposals of PASCAL images (click the links) and place them on the following locations:
     $LocNet/data/edge_boxes_data # Edge Box proposals  
     $LocNet/data/selective_search_data # Selective Search proposals  

Testing the (pre-)trained models on VOC2007 test set

To test the object detection pipeline with the (pre-)trained models on VOC2007 test do:

# 1) open matlab from $LocNet directory
cd $LocNet
matlab
# 2) run in the matlab command line enviroment
>> script_test_object_detection_pipeline_PASCAL('VGG16_Reduced_MRCNN','VGG16_LocNet_InOut','bbox_proposals','edge_boxes','gpu_id',1);    

The above command will use the Reduced MR-CNN recognition model and the LocNet In-Out localization model located in the following directories:

 $LocNet/models-exps/VGG16_Reduced_MRCNN # Reduced MR-CNN recognition model
 $LocNet/models-exps/VGG16_LocNet_InOut # LocNet In-Out localization model

In general, you can specify the recognition and localization models that will be tested by giving the directory names of the corresponding models as the 1st and 2nd input arguments in the script_test_object_detection_pipeline_PASCAL script. For more instructions on how to test the (pre-)trained models see the script:

 $LocNet/code/script_test_object_detection_pipeline_commands.m

Training your own LocNet models in PASCAL VOC datasets

To train your own LocNet localization models on PASCAL VOC dataset:

  1. Downlaod the archive file of VGG16-Net model pre-trained on ImageNet classification task and then unzip and untar it in the following location: $LocNet/data/vgg16_pretrained.
  2. Then
     # 1) open matlab from $LocNet directory
     cd $LocNet
     matlab
     # 2) run in the matlab command line enviroment
     >> script_train_LocNet_PASCAL('VGG16_LocNet_InOut_model','gpu_id',1,'loc_type','inout');  

The above command will train a LocNet In-Out localization model in the union of VOC2007 train+val and VOC2012 train+val datasets using both Selecive Search and Edge Box proposals. The trained model will be saved in the destination directory:

 $LocNet/models-exps/VGG16_LocNet_InOut_model 

of which the directory name is the string that is given as 1st input argument in the script script_train_LocNet_PASCAL. For more instructions on how to train your own LocNet localization models see the script:

 $LocNet/code/script_train_localization_models_commands.m

Note: for training each of the LocNet models you will require a GPU with at least 6 Gbytes of memory.

locnet's People

Contributors

gidariss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

locnet's Issues

caffe_LocNet --- Makefile:553: recipe for target '.build_release/src/caffe/net.o' failed

My system specs

Ubuntu 16.04
CUDA 8.0
Matlab R2014b
gcc/g++  5.4.0
OpenCV  3.2

Here is my output:

PROTOC src/caffe/proto/caffe.proto
CXX .build_release/src/caffe/proto/caffe.pb.cc
CXX src/caffe/internal_thread.cpp
In file included from ./include/caffe/util/device_alternate.hpp:40:0,
                 from ./include/caffe/common.hpp:19,
                 from ./include/caffe/internal_thread.hpp:4,
                 from src/caffe/internal_thread.cpp:4:
./include/caffe/util/cudnn.hpp: In function ‘const char* cudnnGetErrorString(cudnnStatus_t)’:
./include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_RUNTIME_PREREQUISITE_MISSING’ not handled in switch [-Wswitch]
   switch (status) {
          ^
./include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_RUNTIME_IN_PROGRESS’ not handled in switch [-Wswitch]
./include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_RUNTIME_FP_OVERFLOW’ not handled in switch [-Wswitch]
./include/caffe/util/cudnn.hpp: In function ‘void caffe::cudnn::setConvolutionDesc(cudnnConvolutionStruct**, cudnnTensorDescriptor_t, cudnnFilterDescriptor_t, int, int, int, int)’:
./include/caffe/util/cudnn.hpp:108:70: error: too few arguments to function ‘cudnnStatus_t cudnnSetConvolution2dDescriptor(cudnnConvolutionDescriptor_t, int, int, int, int, int, int, cudnnConvolutionMode_t, cudnnDataType_t)’
       pad_h, pad_w, stride_h, stride_w, 1, 1, CUDNN_CROSS_CORRELATION));
                                                                      ^
./include/caffe/util/cudnn.hpp:15:28: note: in definition of macro ‘CUDNN_CHECK’
     cudnnStatus_t status = condition; \
                            ^
In file included from ./include/caffe/util/cudnn.hpp:5:0,
                 from ./include/caffe/util/device_alternate.hpp:40,
                 from ./include/caffe/common.hpp:19,
                 from ./include/caffe/internal_thread.hpp:4,
                 from src/caffe/internal_thread.cpp:4:
/usr/local/cuda/include/cudnn.h:537:27: note: declared here
 cudnnStatus_t CUDNNWINAPI cudnnSetConvolution2dDescriptor( cudnnConvolutionDescriptor_t convDesc,
                           ^
In file included from ./include/caffe/util/device_alternate.hpp:40:0,
                 from ./include/caffe/common.hpp:19,
                 from ./include/caffe/internal_thread.hpp:4,
                 from src/caffe/internal_thread.cpp:4:
./include/caffe/util/cudnn.hpp: In function ‘void caffe::cudnn::createPoolingDesc(cudnnPoolingStruct**, caffe::PoolingParameter_PoolMethod, cudnnPoolingMode_t*, int, int, int, int, int, int)’:
./include/caffe/util/cudnn.hpp:127:41: error: too few arguments to function ‘cudnnStatus_t cudnnSetPooling2dDescriptor(cudnnPoolingDescriptor_t, cudnnPoolingMode_t, cudnnNanPropagation_t, int, int, int, int, int, int)’
         pad_h, pad_w, stride_h, stride_w));
                                         ^
./include/caffe/util/cudnn.hpp:15:28: note: in definition of macro ‘CUDNN_CHECK’
     cudnnStatus_t status = condition; \
                            ^
In file included from ./include/caffe/util/cudnn.hpp:5:0,
                 from ./include/caffe/util/device_alternate.hpp:40,
                 from ./include/caffe/common.hpp:19,
                 from ./include/caffe/internal_thread.hpp:4,
                 from src/caffe/internal_thread.cpp:4:
/usr/local/cuda/include/cudnn.h:1031:27: note: declared here
 cudnnStatus_t CUDNNWINAPI cudnnSetPooling2dDescriptor(
                           ^
Makefile:553: recipe for target '.build_release/src/caffe/internal_thread.o' failed
make: *** [.build_release/src/caffe/internal_thread.o] Error 1
➜  caffe_LocNet git:(master) ✗ ls
build           CONTRIBUTING.md  docs        LICENSE                  matlab     scripts
caffe.cloc      CONTRIBUTORS.md  examples    Makefile                 models     src
cmake           data             include     Makefile.config          python     tools
CMakeLists.txt  distribute       INSTALL.md  Makefile.config.example  README.md
➜  caffe_LocNet git:(master) ✗ cp Makefile Makefile-bak
➜  caffe_LocNet git:(master) ✗ ls
build           CONTRIBUTING.md  docs        LICENSE          Makefile.config.example  README.md
caffe.cloc      CONTRIBUTORS.md  examples    Makefile         matlab                   scripts
cmake           data             include     Makefile-bak     models                   src
CMakeLists.txt  distribute       INSTALL.md  Makefile.config  python                   tools
➜  caffe_LocNet git:(master) ✗ cp ~/caffe/Makefile .
➜  caffe_LocNet git:(master) ✗ ls
build           CONTRIBUTING.md  docs        LICENSE          Makefile.config.example  README.md
caffe.cloc      CONTRIBUTORS.md  examples    Makefile         matlab                   scripts
cmake           data             include     Makefile-bak     models                   src
CMakeLists.txt  distribute       INSTALL.md  Makefile.config  python                   tools
➜  caffe_LocNet git:(master) ✗ make all -8
make: invalid option -- '8'
Usage: make [options] [target] ...
Options:
  -b, -m                      Ignored for compatibility.
  -B, --always-make           Unconditionally make all targets.
  -C DIRECTORY, --directory=DIRECTORY
                              Change to DIRECTORY before doing anything.
  -d                          Print lots of debugging information.
  --debug[=FLAGS]             Print various types of debugging information.
  -e, --environment-overrides
                              Environment variables override makefiles.
  --eval=STRING               Evaluate STRING as a makefile statement.
  -f FILE, --file=FILE, --makefile=FILE
                              Read FILE as a makefile.
  -h, --help                  Print this message and exit.
  -i, --ignore-errors         Ignore errors from recipes.
  -I DIRECTORY, --include-dir=DIRECTORY
                              Search DIRECTORY for included makefiles.
  -j [N], --jobs[=N]          Allow N jobs at once; infinite jobs with no arg.
  -k, --keep-going            Keep going when some targets can't be made.
  -l [N], --load-average[=N], --max-load[=N]
                              Don't start multiple jobs unless load is below N.
  -L, --check-symlink-times   Use the latest mtime between symlinks and target.
  -n, --just-print, --dry-run, --recon
                              Don't actually run any recipe; just print them.
  -o FILE, --old-file=FILE, --assume-old=FILE
                              Consider FILE to be very old and don't remake it.
  -O[TYPE], --output-sync[=TYPE]
                              Synchronize output of parallel jobs by TYPE.
  -p, --print-data-base       Print make's internal database.
  -q, --question              Run no recipe; exit status says if up to date.
  -r, --no-builtin-rules      Disable the built-in implicit rules.
  -R, --no-builtin-variables  Disable the built-in variable settings.
  -s, --silent, --quiet       Don't echo recipes.
  -S, --no-keep-going, --stop
                              Turns off -k.
  -t, --touch                 Touch targets instead of remaking them.
  --trace                     Print tracing information.
  -v, --version               Print the version number of make and exit.
  -w, --print-directory       Print the current directory.
  --no-print-directory        Turn off -w, even if it was turned on implicitly.
  -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
                              Consider FILE to be infinitely new.
  --warn-undefined-variables  Warn when an undefined variable is referenced.

This program built for x86_64-pc-linux-gnu
Report bugs to <[email protected]>
➜  caffe_LocNet git:(master) ✗ make all -8
make: invalid option -- '8'
Usage: make [options] [target] ...
Options:
  -b, -m                      Ignored for compatibility.
  -B, --always-make           Unconditionally make all targets.
  -C DIRECTORY, --directory=DIRECTORY
                              Change to DIRECTORY before doing anything.
  -d                          Print lots of debugging information.
  --debug[=FLAGS]             Print various types of debugging information.
  -e, --environment-overrides
                              Environment variables override makefiles.
  --eval=STRING               Evaluate STRING as a makefile statement.
  -f FILE, --file=FILE, --makefile=FILE
                              Read FILE as a makefile.
  -h, --help                  Print this message and exit.
  -i, --ignore-errors         Ignore errors from recipes.
  -I DIRECTORY, --include-dir=DIRECTORY
                              Search DIRECTORY for included makefiles.
  -j [N], --jobs[=N]          Allow N jobs at once; infinite jobs with no arg.
  -k, --keep-going            Keep going when some targets can't be made.
  -l [N], --load-average[=N], --max-load[=N]
                              Don't start multiple jobs unless load is below N.
  -L, --check-symlink-times   Use the latest mtime between symlinks and target.
  -n, --just-print, --dry-run, --recon
                              Don't actually run any recipe; just print them.
  -o FILE, --old-file=FILE, --assume-old=FILE
                              Consider FILE to be very old and don't remake it.
  -O[TYPE], --output-sync[=TYPE]
                              Synchronize output of parallel jobs by TYPE.
  -p, --print-data-base       Print make's internal database.
  -q, --question              Run no recipe; exit status says if up to date.
  -r, --no-builtin-rules      Disable the built-in implicit rules.
  -R, --no-builtin-variables  Disable the built-in variable settings.
  -s, --silent, --quiet       Don't echo recipes.
  -S, --no-keep-going, --stop
                              Turns off -k.
  -t, --touch                 Touch targets instead of remaking them.
  --trace                     Print tracing information.
  -v, --version               Print the version number of make and exit.
  -w, --print-directory       Print the current directory.
  --no-print-directory        Turn off -w, even if it was turned on implicitly.
  -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
                              Consider FILE to be infinitely new.
  --warn-undefined-variables  Warn when an undefined variable is referenced.

This program built for x86_64-pc-linux-gnu
Report bugs to <[email protected]>
➜  caffe_LocNet git:(master) ✗ make all -8
make: invalid option -- '8'
Usage: make [options] [target] ...
Options:
  -b, -m                      Ignored for compatibility.
  -B, --always-make           Unconditionally make all targets.
  -C DIRECTORY, --directory=DIRECTORY
                              Change to DIRECTORY before doing anything.
  -d                          Print lots of debugging information.
  --debug[=FLAGS]             Print various types of debugging information.
  -e, --environment-overrides
                              Environment variables override makefiles.
  --eval=STRING               Evaluate STRING as a makefile statement.
  -f FILE, --file=FILE, --makefile=FILE
                              Read FILE as a makefile.
  -h, --help                  Print this message and exit.
  -i, --ignore-errors         Ignore errors from recipes.
  -I DIRECTORY, --include-dir=DIRECTORY
                              Search DIRECTORY for included makefiles.
  -j [N], --jobs[=N]          Allow N jobs at once; infinite jobs with no arg.
  -k, --keep-going            Keep going when some targets can't be made.
  -l [N], --load-average[=N], --max-load[=N]
                              Don't start multiple jobs unless load is below N.
  -L, --check-symlink-times   Use the latest mtime between symlinks and target.
  -n, --just-print, --dry-run, --recon
                              Don't actually run any recipe; just print them.
  -o FILE, --old-file=FILE, --assume-old=FILE
                              Consider FILE to be very old and don't remake it.
  -O[TYPE], --output-sync[=TYPE]
                              Synchronize output of parallel jobs by TYPE.
  -p, --print-data-base       Print make's internal database.
  -q, --question              Run no recipe; exit status says if up to date.
  -r, --no-builtin-rules      Disable the built-in implicit rules.
  -R, --no-builtin-variables  Disable the built-in variable settings.
  -s, --silent, --quiet       Don't echo recipes.
  -S, --no-keep-going, --stop
                              Turns off -k.
  -t, --touch                 Touch targets instead of remaking them.
  --trace                     Print tracing information.
  -v, --version               Print the version number of make and exit.
  -w, --print-directory       Print the current directory.
  --no-print-directory        Turn off -w, even if it was turned on implicitly.
  -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
                              Consider FILE to be infinitely new.
  --warn-undefined-variables  Warn when an undefined variable is referenced.

This program built for x86_64-pc-linux-gnu
Report bugs to <[email protected]>
➜  caffe_LocNet git:(master) ✗ ls
build           CONTRIBUTING.md  docs        LICENSE          Makefile.config.example  README.md
caffe.cloc      CONTRIBUTORS.md  examples    Makefile         matlab                   scripts
cmake           data             include     Makefile-bak     models                   src
CMakeLists.txt  distribute       INSTALL.md  Makefile.config  python                   tools
➜  caffe_LocNet git:(master) ✗ cp Makefile-bak Makefile
➜  caffe_LocNet git:(master) ✗ ls
build           CONTRIBUTING.md  docs        LICENSE          Makefile.config.example  README.md
caffe.cloc      CONTRIBUTORS.md  examples    Makefile         matlab                   scripts
cmake           data             include     Makefile-bak     models                   src
CMakeLists.txt  distribute       INSTALL.md  Makefile.config  python                   tools
➜  caffe_LocNet git:(master) ✗ make all -j8
CXX src/caffe/internal_thread.cpp
CXX src/caffe/net.cpp
CXX src/caffe/data_transformer.cpp
CXX src/caffe/blob.cpp
CXX src/caffe/data_reader.cpp
CXX src/caffe/util/cudnn.cpp
CXX src/caffe/util/db_leveldb.cpp
CXX src/caffe/util/db_lmdb.cpp
In file included from ./include/caffe/util/device_alternate.hpp:40:0,
                 from ./include/caffe/common.hpp:19,
                 from ./include/caffe/util/db.hpp:6,
                 from ./include/caffe/util/db_lmdb.hpp:9,
                 from src/caffe/util/db_lmdb.cpp:2:
./include/caffe/util/cudnn.hpp: In function ‘const char* cudnnGetErrorString(cudnnStatus_t)’:
./include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_RUNTIME_PREREQUISITE_MISSING’ not handled in switch [-Wswitch]
   switch (status) {
          ^
./include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_RUNTIME_IN_PROGRESS’ not handled in switch [-Wswitch]
./include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_RUNTIME_FP_OVERFLOW’ not handled in switch [-Wswitch]
./include/caffe/util/cudnn.hpp: In function ‘void caffe::cudnn::setConvolutionDesc(cudnnConvolutionStruct**, cudnnTensorDescriptor_t, cudnnFilterDescriptor_t, int, int, int, int)’:
./include/caffe/util/cudnn.hpp:108:70: error: too few arguments to function ‘cudnnStatus_t cudnnSetConvolution2dDescriptor(cudnnConvolutionDescriptor_t, int, int, int, int, int, int, cudnnConvolutionMode_t, cudnnDataType_t)’
       pad_h, pad_w, stride_h, stride_w, 1, 1, CUDNN_CROSS_CORRELATION));
                                                                      ^
./include/caffe/util/cudnn.hpp:15:28: note: in definition of macro ‘CUDNN_CHECK’
     cudnnStatus_t status = condition; \
                            ^
In file included from ./include/caffe/util/cudnn.hpp:5:0,
                 from ./include/caffe/util/device_alternate.hpp:40,
                 from ./include/caffe/common.hpp:19,
                 from ./include/caffe/util/db.hpp:6,
                 from ./include/caffe/util/db_lmdb.hpp:9,
                 from src/caffe/util/db_lmdb.cpp:2:
/usr/local/cuda/include/cudnn.h:537:27: note: declared here
 cudnnStatus_t CUDNNWINAPI cudnnSetConvolution2dDescriptor( cudnnConvolutionDescriptor_t convDesc,
                           ^
In file included from ./include/caffe/util/device_alternate.hpp:40:0,
                 from ./include/caffe/common.hpp:19,
                 from ./include/caffe/util/db.hpp:6,
                 from ./include/caffe/util/db_lmdb.hpp:9,
                 from src/caffe/util/db_lmdb.cpp:2:
./include/caffe/util/cudnn.hpp: In function ‘void caffe::cudnn::createPoolingDesc(cudnnPoolingStruct**, caffe::PoolingParameter_PoolMethod, cudnnPoolingMode_t*, int, int, int, int, int, int)’:
./include/caffe/util/cudnn.hpp:127:41: error: too few arguments to function ‘cudnnStatus_t cudnnSetPooling2dDescriptor(cudnnPoolingDescriptor_t, cudnnPoolingMode_t, cudnnNanPropagation_t, int, int, int, int, int, int)’
         pad_h, pad_w, stride_h, stride_w));
                                         ^
./include/caffe/util/cudnn.hpp:15:28: note: in definition of macro ‘CUDNN_CHECK’
     cudnnStatus_t status = condition; \
                            ^
In file included from ./include/caffe/util/cudnn.hpp:5:0,
                 from ./include/caffe/util/device_alternate.hpp:40,
                 from ./include/caffe/common.hpp:19,
                 from ./include/caffe/util/db.hpp:6,
                 from ./include/caffe/util/db_lmdb.hpp:9,
                 from src/caffe/util/db_lmdb.cpp:2:
/usr/local/cuda/include/cudnn.h:1031:27: note: declared here
 cudnnStatus_t CUDNNWINAPI cudnnSetPooling2dDescriptor(
                           ^
Makefile:553: recipe for target '.build_release/src/caffe/util/db_lmdb.o' failed
make: *** [.build_release/src/caffe/util/db_lmdb.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from src/caffe/util/cudnn.cpp:2:0:
./include/caffe/util/cudnn.hpp: In function ‘const char* cudnnGetErrorString(cudnnStatus_t)’:
./include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_RUNTIME_PREREQUISITE_MISSING’ not handled in switch [-Wswitch]
   switch (status) {
          ^
./include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_RUNTIME_IN_PROGRESS’ not handled in switch [-Wswitch]
./include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_RUNTIME_FP_OVERFLOW’ not handled in switch [-Wswitch]
./include/caffe/util/cudnn.hpp: In function ‘void caffe::cudnn::setConvolutionDesc(cudnnConvolutionStruct**, cudnnTensorDescriptor_t, cudnnFilterDescriptor_t, int, int, int, int)’:
./include/caffe/util/cudnn.hpp:108:70: error: too few arguments to function ‘cudnnStatus_t cudnnSetConvolution2dDescriptor(cudnnConvolutionDescriptor_t, int, int, int, int, int, int, cudnnConvolutionMode_t, cudnnDataType_t)’
       pad_h, pad_w, stride_h, stride_w, 1, 1, CUDNN_CROSS_CORRELATION));
                                                                      ^
./include/caffe/util/cudnn.hpp:15:28: note: in definition of macro ‘CUDNN_CHECK’
     cudnnStatus_t status = condition; \
                            ^
In file included from ./include/caffe/util/cudnn.hpp:5:0,
                 from src/caffe/util/cudnn.cpp:2:
/usr/local/cuda/include/cudnn.h:537:27: note: declared here
 cudnnStatus_t CUDNNWINAPI cudnnSetConvolution2dDescriptor( cudnnConvolutionDescriptor_t convDesc,
                           ^
In file included from src/caffe/util/cudnn.cpp:2:0:
./include/caffe/util/cudnn.hpp: In function ‘void caffe::cudnn::createPoolingDesc(cudnnPoolingStruct**, caffe::PoolingParameter_PoolMethod, cudnnPoolingMode_t*, int, int, int, int, int, int)’:
./include/caffe/util/cudnn.hpp:127:41: error: too few arguments to function ‘cudnnStatus_t cudnnSetPooling2dDescriptor(cudnnPoolingDescriptor_t, cudnnPoolingMode_t, cudnnNanPropagation_t, int, int, int, int, int, int)’
         pad_h, pad_w, stride_h, stride_w));
                                         ^
./include/caffe/util/cudnn.hpp:15:28: note: in definition of macro ‘CUDNN_CHECK’
     cudnnStatus_t status = condition; \
                            ^
In file included from ./include/caffe/util/cudnn.hpp:5:0,
                 from src/caffe/util/cudnn.cpp:2:
/usr/local/cuda/include/cudnn.h:1031:27: note: declared here
 cudnnStatus_t CUDNNWINAPI cudnnSetPooling2dDescriptor(
                           ^
Makefile:553: recipe for target '.build_release/src/caffe/util/cudnn.o' failed
make: *** [.build_release/src/caffe/util/cudnn.o] Error 1
In file included from ./include/caffe/util/device_alternate.hpp:40:0,
                 from ./include/caffe/common.hpp:19,
                 from ./include/caffe/util/db.hpp:6,
                 from ./include/caffe/util/db_leveldb.hpp:10,
                 from src/caffe/util/db_leveldb.cpp:2:
./include/caffe/util/cudnn.hpp: In function ‘const char* cudnnGetErrorString(cudnnStatus_t)’:
./include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_RUNTIME_PREREQUISITE_MISSING’ not handled in switch [-Wswitch]
   switch (status) {
          ^
./include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_RUNTIME_IN_PROGRESS’ not handled in switch [-Wswitch]
./include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_RUNTIME_FP_OVERFLOW’ not handled in switch [-Wswitch]
./include/caffe/util/cudnn.hpp: In function ‘void caffe::cudnn::setConvolutionDesc(cudnnConvolutionStruct**, cudnnTensorDescriptor_t, cudnnFilterDescriptor_t, int, int, int, int)’:
./include/caffe/util/cudnn.hpp:108:70: error: too few arguments to function ‘cudnnStatus_t cudnnSetConvolution2dDescriptor(cudnnConvolutionDescriptor_t, int, int, int, int, int, int, cudnnConvolutionMode_t, cudnnDataType_t)’
       pad_h, pad_w, stride_h, stride_w, 1, 1, CUDNN_CROSS_CORRELATION));
                                                                      ^
./include/caffe/util/cudnn.hpp:15:28: note: in definition of macro ‘CUDNN_CHECK’
     cudnnStatus_t status = condition; \
                            ^
In file included from ./include/caffe/util/cudnn.hpp:5:0,
                 from ./include/caffe/util/device_alternate.hpp:40,
                 from ./include/caffe/common.hpp:19,
                 from ./include/caffe/util/db.hpp:6,
                 from ./include/caffe/util/db_leveldb.hpp:10,
                 from src/caffe/util/db_leveldb.cpp:2:
/usr/local/cuda/include/cudnn.h:537:27: note: declared here
 cudnnStatus_t CUDNNWINAPI cudnnSetConvolution2dDescriptor( cudnnConvolutionDescriptor_t convDesc,
                           ^
In file included from ./include/caffe/util/device_alternate.hpp:40:0,
                 from ./include/caffe/common.hpp:19,
                 from ./include/caffe/util/db.hpp:6,
                 from ./include/caffe/util/db_leveldb.hpp:10,
                 from src/caffe/util/db_leveldb.cpp:2:
./include/caffe/util/cudnn.hpp: In function ‘void caffe::cudnn::createPoolingDesc(cudnnPoolingStruct**, caffe::PoolingParameter_PoolMethod, cudnnPoolingMode_t*, int, int, int, int, int, int)’:
./include/caffe/util/cudnn.hpp:127:41: error: too few arguments to function ‘cudnnStatus_t cudnnSetPooling2dDescriptor(cudnnPoolingDescriptor_t, cudnnPoolingMode_t, cudnnNanPropagation_t, int, int, int, int, int, int)’
         pad_h, pad_w, stride_h, stride_w));
                                         ^
./include/caffe/util/cudnn.hpp:15:28: note: in definition of macro ‘CUDNN_CHECK’
     cudnnStatus_t status = condition; \
                            ^
In file included from ./include/caffe/util/cudnn.hpp:5:0,
                 from ./include/caffe/util/device_alternate.hpp:40,
                 from ./include/caffe/common.hpp:19,
                 from ./include/caffe/util/db.hpp:6,
                 from ./include/caffe/util/db_leveldb.hpp:10,
                 from src/caffe/util/db_leveldb.cpp:2:
/usr/local/cuda/include/cudnn.h:1031:27: note: declared here
 cudnnStatus_t CUDNNWINAPI cudnnSetPooling2dDescriptor(
                           ^
Makefile:553: recipe for target '.build_release/src/caffe/util/db_leveldb.o' failed
make: *** [.build_release/src/caffe/util/db_leveldb.o] Error 1
In file included from ./include/caffe/util/device_alternate.hpp:40:0,
                 from ./include/caffe/common.hpp:19,
                 from ./include/caffe/blob.hpp:8,
                 from src/caffe/blob.cpp:4:
./include/caffe/util/cudnn.hpp: In function ‘const char* cudnnGetErrorString(cudnnStatus_t)’:
./include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_RUNTIME_PREREQUISITE_MISSING’ not handled in switch [-Wswitch]
   switch (status) {
          ^
./include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_RUNTIME_IN_PROGRESS’ not handled in switch [-Wswitch]
./include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_RUNTIME_FP_OVERFLOW’ not handled in switch [-Wswitch]
./include/caffe/util/cudnn.hpp: In function ‘void caffe::cudnn::setConvolutionDesc(cudnnConvolutionStruct**, cudnnTensorDescriptor_t, cudnnFilterDescriptor_t, int, int, int, int)’:
./include/caffe/util/cudnn.hpp:108:70: error: too few arguments to function ‘cudnnStatus_t cudnnSetConvolution2dDescriptor(cudnnConvolutionDescriptor_t, int, int, int, int, int, int, cudnnConvolutionMode_t, cudnnDataType_t)’
       pad_h, pad_w, stride_h, stride_w, 1, 1, CUDNN_CROSS_CORRELATION));
                                                                      ^
./include/caffe/util/cudnn.hpp:15:28: note: in definition of macro ‘CUDNN_CHECK’
     cudnnStatus_t status = condition; \
                            ^
In file included from ./include/caffe/util/cudnn.hpp:5:0,
                 from ./include/caffe/util/device_alternate.hpp:40,
                 from ./include/caffe/common.hpp:19,
                 from ./include/caffe/blob.hpp:8,
                 from src/caffe/blob.cpp:4:
/usr/local/cuda/include/cudnn.h:537:27: note: declared here
 cudnnStatus_t CUDNNWINAPI cudnnSetConvolution2dDescriptor( cudnnConvolutionDescriptor_t convDesc,
                           ^
In file included from ./include/caffe/util/device_alternate.hpp:40:0,
                 from ./include/caffe/common.hpp:19,
                 from ./include/caffe/blob.hpp:8,
                 from src/caffe/blob.cpp:4:
./include/caffe/util/cudnn.hpp: In function ‘void caffe::cudnn::createPoolingDesc(cudnnPoolingStruct**, caffe::PoolingParameter_PoolMethod, cudnnPoolingMode_t*, int, int, int, int, int, int)’:
./include/caffe/util/cudnn.hpp:127:41: error: too few arguments to function ‘cudnnStatus_t cudnnSetPooling2dDescriptor(cudnnPoolingDescriptor_t, cudnnPoolingMode_t, cudnnNanPropagation_t, int, int, int, int, int, int)’
         pad_h, pad_w, stride_h, stride_w));
                                         ^
./include/caffe/util/cudnn.hpp:15:28: note: in definition of macro ‘CUDNN_CHECK’
     cudnnStatus_t status = condition; \
                            ^
In file included from ./include/caffe/util/cudnn.hpp:5:0,
                 from ./include/caffe/util/device_alternate.hpp:40,
                 from ./include/caffe/common.hpp:19,
                 from ./include/caffe/blob.hpp:8,
                 from src/caffe/blob.cpp:4:
/usr/local/cuda/include/cudnn.h:1031:27: note: declared here
 cudnnStatus_t CUDNNWINAPI cudnnSetPooling2dDescriptor(
                           ^
Makefile:553: recipe for target '.build_release/src/caffe/blob.o' failed
make: *** [.build_release/src/caffe/blob.o] Error 1
In file included from ./include/caffe/util/device_alternate.hpp:40:0,
                 from ./include/caffe/common.hpp:19,
                 from ./include/caffe/blob.hpp:8,
                 from ./include/caffe/data_transformer.hpp:6,
                 from src/caffe/data_transformer.cpp:8:
./include/caffe/util/cudnn.hpp: In function ‘const char* cudnnGetErrorString(cudnnStatus_t)’:
./include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_RUNTIME_PREREQUISITE_MISSING’ not handled in switch [-Wswitch]
   switch (status) {
          ^
./include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_RUNTIME_IN_PROGRESS’ not handled in switch [-Wswitch]
./include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_RUNTIME_FP_OVERFLOW’ not handled in switch [-Wswitch]
./include/caffe/util/cudnn.hpp: In function ‘void caffe::cudnn::setConvolutionDesc(cudnnConvolutionStruct**, cudnnTensorDescriptor_t, cudnnFilterDescriptor_t, int, int, int, int)’:
./include/caffe/util/cudnn.hpp:108:70: error: too few arguments to function ‘cudnnStatus_t cudnnSetConvolution2dDescriptor(cudnnConvolutionDescriptor_t, int, int, int, int, int, int, cudnnConvolutionMode_t, cudnnDataType_t)’
       pad_h, pad_w, stride_h, stride_w, 1, 1, CUDNN_CROSS_CORRELATION));
                                                                      ^
./include/caffe/util/cudnn.hpp:15:28: note: in definition of macro ‘CUDNN_CHECK’
     cudnnStatus_t status = condition; \
                            ^
In file included from ./include/caffe/util/cudnn.hpp:5:0,
                 from ./include/caffe/util/device_alternate.hpp:40,
                 from ./include/caffe/common.hpp:19,
                 from ./include/caffe/blob.hpp:8,
                 from ./include/caffe/data_transformer.hpp:6,
                 from src/caffe/data_transformer.cpp:8:
/usr/local/cuda/include/cudnn.h:537:27: note: declared here
 cudnnStatus_t CUDNNWINAPI cudnnSetConvolution2dDescriptor( cudnnConvolutionDescriptor_t convDesc,
                           ^
In file included from ./include/caffe/util/device_alternate.hpp:40:0,
                 from ./include/caffe/common.hpp:19,
                 from ./include/caffe/blob.hpp:8,
                 from ./include/caffe/data_transformer.hpp:6,
                 from src/caffe/data_transformer.cpp:8:
./include/caffe/util/cudnn.hpp: In function ‘void caffe::cudnn::createPoolingDesc(cudnnPoolingStruct**, caffe::PoolingParameter_PoolMethod, cudnnPoolingMode_t*, int, int, int, int, int, int)’:
./include/caffe/util/cudnn.hpp:127:41: error: too few arguments to function ‘cudnnStatus_t cudnnSetPooling2dDescriptor(cudnnPoolingDescriptor_t, cudnnPoolingMode_t, cudnnNanPropagation_t, int, int, int, int, int, int)’
         pad_h, pad_w, stride_h, stride_w));
                                         ^
./include/caffe/util/cudnn.hpp:15:28: note: in definition of macro ‘CUDNN_CHECK’
     cudnnStatus_t status = condition; \
                            ^
In file included from ./include/caffe/util/cudnn.hpp:5:0,
                 from ./include/caffe/util/device_alternate.hpp:40,
                 from ./include/caffe/common.hpp:19,
                 from ./include/caffe/blob.hpp:8,
                 from ./include/caffe/data_transformer.hpp:6,
                 from src/caffe/data_transformer.cpp:8:
/usr/local/cuda/include/cudnn.h:1031:27: note: declared here
 cudnnStatus_t CUDNNWINAPI cudnnSetPooling2dDescriptor(
                           ^
Makefile:553: recipe for target '.build_release/src/caffe/data_transformer.o' failed
make: *** [.build_release/src/caffe/data_transformer.o] Error 1
In file included from ./include/caffe/util/device_alternate.hpp:40:0,
                 from ./include/caffe/common.hpp:19,
                 from ./include/caffe/internal_thread.hpp:4,
                 from src/caffe/internal_thread.cpp:4:
./include/caffe/util/cudnn.hpp: In function ‘const char* cudnnGetErrorString(cudnnStatus_t)’:
./include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_RUNTIME_PREREQUISITE_MISSING’ not handled in switch [-Wswitch]
   switch (status) {
          ^
./include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_RUNTIME_IN_PROGRESS’ not handled in switch [-Wswitch]
./include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_RUNTIME_FP_OVERFLOW’ not handled in switch [-Wswitch]
./include/caffe/util/cudnn.hpp: In function ‘void caffe::cudnn::setConvolutionDesc(cudnnConvolutionStruct**, cudnnTensorDescriptor_t, cudnnFilterDescriptor_t, int, int, int, int)’:
./include/caffe/util/cudnn.hpp:108:70: error: too few arguments to function ‘cudnnStatus_t cudnnSetConvolution2dDescriptor(cudnnConvolutionDescriptor_t, int, int, int, int, int, int, cudnnConvolutionMode_t, cudnnDataType_t)’
       pad_h, pad_w, stride_h, stride_w, 1, 1, CUDNN_CROSS_CORRELATION));
                                                                      ^
./include/caffe/util/cudnn.hpp:15:28: note: in definition of macro ‘CUDNN_CHECK’
     cudnnStatus_t status = condition; \
                            ^
In file included from ./include/caffe/util/cudnn.hpp:5:0,
                 from ./include/caffe/util/device_alternate.hpp:40,
                 from ./include/caffe/common.hpp:19,
                 from ./include/caffe/internal_thread.hpp:4,
                 from src/caffe/internal_thread.cpp:4:
/usr/local/cuda/include/cudnn.h:537:27: note: declared here
 cudnnStatus_t CUDNNWINAPI cudnnSetConvolution2dDescriptor( cudnnConvolutionDescriptor_t convDesc,
                           ^
In file included from ./include/caffe/util/device_alternate.hpp:40:0,
                 from ./include/caffe/common.hpp:19,
                 from ./include/caffe/internal_thread.hpp:4,
                 from src/caffe/internal_thread.cpp:4:
./include/caffe/util/cudnn.hpp: In function ‘void caffe::cudnn::createPoolingDesc(cudnnPoolingStruct**, caffe::PoolingParameter_PoolMethod, cudnnPoolingMode_t*, int, int, int, int, int, int)’:
./include/caffe/util/cudnn.hpp:127:41: error: too few arguments to function ‘cudnnStatus_t cudnnSetPooling2dDescriptor(cudnnPoolingDescriptor_t, cudnnPoolingMode_t, cudnnNanPropagation_t, int, int, int, int, int, int)’
         pad_h, pad_w, stride_h, stride_w));
                                         ^
./include/caffe/util/cudnn.hpp:15:28: note: in definition of macro ‘CUDNN_CHECK’
     cudnnStatus_t status = condition; \
                            ^
In file included from ./include/caffe/util/cudnn.hpp:5:0,
                 from ./include/caffe/util/device_alternate.hpp:40,
                 from ./include/caffe/common.hpp:19,
                 from ./include/caffe/internal_thread.hpp:4,
                 from src/caffe/internal_thread.cpp:4:
/usr/local/cuda/include/cudnn.h:1031:27: note: declared here
 cudnnStatus_t CUDNNWINAPI cudnnSetPooling2dDescriptor(
                           ^
Makefile:553: recipe for target '.build_release/src/caffe/internal_thread.o' failed
make: *** [.build_release/src/caffe/internal_thread.o] Error 1
In file included from ./include/caffe/util/device_alternate.hpp:40:0,
                 from ./include/caffe/common.hpp:19,
                 from src/caffe/data_reader.cpp:6:
./include/caffe/util/cudnn.hpp: In function ‘const char* cudnnGetErrorString(cudnnStatus_t)’:
./include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_RUNTIME_PREREQUISITE_MISSING’ not handled in switch [-Wswitch]
   switch (status) {
          ^
./include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_RUNTIME_IN_PROGRESS’ not handled in switch [-Wswitch]
./include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_RUNTIME_FP_OVERFLOW’ not handled in switch [-Wswitch]
./include/caffe/util/cudnn.hpp: In function ‘void caffe::cudnn::setConvolutionDesc(cudnnConvolutionStruct**, cudnnTensorDescriptor_t, cudnnFilterDescriptor_t, int, int, int, int)’:
./include/caffe/util/cudnn.hpp:108:70: error: too few arguments to function ‘cudnnStatus_t cudnnSetConvolution2dDescriptor(cudnnConvolutionDescriptor_t, int, int, int, int, int, int, cudnnConvolutionMode_t, cudnnDataType_t)’
       pad_h, pad_w, stride_h, stride_w, 1, 1, CUDNN_CROSS_CORRELATION));
                                                                      ^
./include/caffe/util/cudnn.hpp:15:28: note: in definition of macro ‘CUDNN_CHECK’
     cudnnStatus_t status = condition; \
                            ^
In file included from ./include/caffe/util/cudnn.hpp:5:0,
                 from ./include/caffe/util/device_alternate.hpp:40,
                 from ./include/caffe/common.hpp:19,
                 from src/caffe/data_reader.cpp:6:
/usr/local/cuda/include/cudnn.h:537:27: note: declared here
 cudnnStatus_t CUDNNWINAPI cudnnSetConvolution2dDescriptor( cudnnConvolutionDescriptor_t convDesc,
                           ^
In file included from ./include/caffe/util/device_alternate.hpp:40:0,
                 from ./include/caffe/common.hpp:19,
                 from src/caffe/data_reader.cpp:6:
./include/caffe/util/cudnn.hpp: In function ‘void caffe::cudnn::createPoolingDesc(cudnnPoolingStruct**, caffe::PoolingParameter_PoolMethod, cudnnPoolingMode_t*, int, int, int, int, int, int)’:
./include/caffe/util/cudnn.hpp:127:41: error: too few arguments to function ‘cudnnStatus_t cudnnSetPooling2dDescriptor(cudnnPoolingDescriptor_t, cudnnPoolingMode_t, cudnnNanPropagation_t, int, int, int, int, int, int)’
         pad_h, pad_w, stride_h, stride_w));
                                         ^
./include/caffe/util/cudnn.hpp:15:28: note: in definition of macro ‘CUDNN_CHECK’
     cudnnStatus_t status = condition; \
                            ^
In file included from ./include/caffe/util/cudnn.hpp:5:0,
                 from ./include/caffe/util/device_alternate.hpp:40,
                 from ./include/caffe/common.hpp:19,
                 from src/caffe/data_reader.cpp:6:
/usr/local/cuda/include/cudnn.h:1031:27: note: declared here
 cudnnStatus_t CUDNNWINAPI cudnnSetPooling2dDescriptor(
                           ^
Makefile:553: recipe for target '.build_release/src/caffe/data_reader.o' failed
make: *** [.build_release/src/caffe/data_reader.o] Error 1
In file included from ./include/caffe/util/device_alternate.hpp:40:0,
                 from ./include/caffe/common.hpp:19,
                 from src/caffe/net.cpp:10:
./include/caffe/util/cudnn.hpp: In function ‘const char* cudnnGetErrorString(cudnnStatus_t)’:
./include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_RUNTIME_PREREQUISITE_MISSING’ not handled in switch [-Wswitch]
   switch (status) {
          ^
./include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_RUNTIME_IN_PROGRESS’ not handled in switch [-Wswitch]
./include/caffe/util/cudnn.hpp:21:10: warning: enumeration value ‘CUDNN_STATUS_RUNTIME_FP_OVERFLOW’ not handled in switch [-Wswitch]
./include/caffe/util/cudnn.hpp: In function ‘void caffe::cudnn::setConvolutionDesc(cudnnConvolutionStruct**, cudnnTensorDescriptor_t, cudnnFilterDescriptor_t, int, int, int, int)’:
./include/caffe/util/cudnn.hpp:108:70: error: too few arguments to function ‘cudnnStatus_t cudnnSetConvolution2dDescriptor(cudnnConvolutionDescriptor_t, int, int, int, int, int, int, cudnnConvolutionMode_t, cudnnDataType_t)’
       pad_h, pad_w, stride_h, stride_w, 1, 1, CUDNN_CROSS_CORRELATION));
                                                                      ^
./include/caffe/util/cudnn.hpp:15:28: note: in definition of macro ‘CUDNN_CHECK’
     cudnnStatus_t status = condition; \
                            ^
In file included from ./include/caffe/util/cudnn.hpp:5:0,
                 from ./include/caffe/util/device_alternate.hpp:40,
                 from ./include/caffe/common.hpp:19,
                 from src/caffe/net.cpp:10:
/usr/local/cuda/include/cudnn.h:537:27: note: declared here
 cudnnStatus_t CUDNNWINAPI cudnnSetConvolution2dDescriptor( cudnnConvolutionDescriptor_t convDesc,
                           ^
In file included from ./include/caffe/util/device_alternate.hpp:40:0,
                 from ./include/caffe/common.hpp:19,
                 from src/caffe/net.cpp:10:
./include/caffe/util/cudnn.hpp: In function ‘void caffe::cudnn::createPoolingDesc(cudnnPoolingStruct**, caffe::PoolingParameter_PoolMethod, cudnnPoolingMode_t*, int, int, int, int, int, int)’:
./include/caffe/util/cudnn.hpp:127:41: error: too few arguments to function ‘cudnnStatus_t cudnnSetPooling2dDescriptor(cudnnPoolingDescriptor_t, cudnnPoolingMode_t, cudnnNanPropagation_t, int, int, int, int, int, int)’
         pad_h, pad_w, stride_h, stride_w));
                                         ^
./include/caffe/util/cudnn.hpp:15:28: note: in definition of macro ‘CUDNN_CHECK’
     cudnnStatus_t status = condition; \
                            ^
In file included from ./include/caffe/util/cudnn.hpp:5:0,
                 from ./include/caffe/util/device_alternate.hpp:40,
                 from ./include/caffe/common.hpp:19,
                 from src/caffe/net.cpp:10:
/usr/local/cuda/include/cudnn.h:1031:27: note: declared here
 cudnnStatus_t CUDNNWINAPI cudnnSetPooling2dDescriptor(
                           ^
Makefile:553: recipe for target '.build_release/src/caffe/net.o' failed
make: *** [.build_release/src/caffe/net.o] Error 1

Any solution?

Matlab crush when running 'demo_LocNet_object_detection_pipeline.m'

Dear author:

Thanks for your great work and code.
My env is Ubuntu 16.04+CUDA-8+cudnn-5.
When I ran the demo_LocNet_object_detection_pipeline.m, the matlab was crushed and the log is shown as follows.
Have you met this error before? Could you help me with this?
I have been sloving this problem for 2 days.
Thanks a lot!

`
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Current Graphics Driver: Unknown software
Current Visual : 0x24 (class 4, depth 15)
Default Encoding : UTF-8
Deployed : false
GNU C Library : 2.23 stable
Host Name : gteam-inspur
MATLAB Architecture : glnxa64
MATLAB Entitlement ID: 6257193
MATLAB Root : /usr/local/MATLAB/R2016b
MATLAB Version : 9.1.0.441655 (R2016b)
OpenGL : software
Operating System : Linux 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64
Processor ID : x86 Family 6 Model 79 Stepping 1, GenuineIntel
Virtual Machine : Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Window System : The XFree86 Project, Inc (40300000), display :14.0

Fault Count: 6

Abnormal termination:
Segmentation violation

Register State (from fault):
RAX = 00007f3a58871310 RBX = 0000000000000035
RCX = 00007f3a4f037300 RDX = 00007f3a4f0372a0
RSP = 00007f3ce2a05ae0 RBP = 00007f3a53931928
RSI = 0000000000000000 RDI = 0000000000000035

R8 = 00007f3a4f037300 R9 = 000000420b6e0000
R10 = 00007f3a4f0372a0 R11 = 00007f3a58871310
R12 = 0000000000000000 R13 = 00007f3a4f02e0e0
R14 = 00007f3a539310f8 R15 = 00007f3a53107930

RIP = 00007f3a5887133a EFL = 0000000000010202

CS = 0033 FS = 0000 GS = 0000

Stack Trace (from fault):
[ 0] 0x00007f3a5887133a /usr/local/cuda-8.0/lib64/libcudnn.so.5+02822970
[ 1] 0x00007f3b148ec794 /home/jk/gitpackages/LocNet/external/caffe_LocNet/matlab/+caffe/private/caffe_.mexa64+02545556
[ 2] 0x00007f3b1475e2b2 /home/jk/gitpackages/LocNet/external/caffe_LocNet/matlab/+caffe/private/caffe_.mexa64+00914098
[ 3] 0x00007f3b1475e406 /home/jk/gitpackages/LocNet/external/caffe_LocNet/matlab/+caffe/private/caffe_.mexa64+00914438
[ 4] 0x00007f3b146c2b9a /home/jk/gitpackages/LocNet/external/caffe_LocNet/matlab/+caffe/private/caffe_.mexa64+00277402
[ 5] 0x00007f3b146c41c2 /home/jk/gitpackages/LocNet/external/caffe_LocNet/matlab/+caffe/private/caffe_.mexa64+00283074 mexFunction+00000169
[ 6] 0x00007f3cef9c8caa /usr/local/MATLAB/R2016b/bin/glnxa64/libmex.so+00175274 mexRunMexFile+00000106
[ 7] 0x00007f3cef9c11a3 /usr/local/MATLAB/R2016b/bin/glnxa64/libmex.so+00143779
[ 8] 0x00007f3cef9c2345 /usr/local/MATLAB/R2016b/bin/glnxa64/libmex.so+00148293
[ 9] 0x00007f3ceecc18a3 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_dispatcher.so+00768163 ZN8Mfh_file16dispatch_fh_implEMS_FviPP11mxArray_tagiS2_EiS2_iS2+00000947
[ 10] 0x00007f3ceecc216e /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_dispatcher.so+00770414 ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2+00000030
[ 11] 0x00007f3cebafc847 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+11675719
[ 12] 0x00007f3cebafcaab /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+11676331
[ 13] 0x00007f3cebb62461 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+12092513
[ 14] 0x00007f3ceb488930 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+04909360
[ 15] 0x00007f3ceb48ac3c /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+04918332
[ 16] 0x00007f3ceb487410 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+04903952
[ 17] 0x00007f3ceb482855 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+04884565
[ 18] 0x00007f3ceb482b69 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+04885353
[ 19] 0x00007f3ceb48720d /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+04903437
[ 20] 0x00007f3ceb4872e2 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+04903650
[ 21] 0x00007f3ceb57e688 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+05916296
[ 22] 0x00007f3ceb580b2f /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+05925679
[ 23] 0x00007f3ceb9ff10e /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10637582
[ 24] 0x00007f3ceb9c6eab /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10407595
[ 25] 0x00007f3ceb9c6fb3 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10407859
[ 26] 0x00007f3ceb9c90d9 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10416345
[ 27] 0x00007f3ceba41bbe /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10910654
[ 28] 0x00007f3ceba41f4a /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10911562
[ 29] 0x00007f3cedf663db /usr/local/MATLAB/R2016b/bin/glnxa64/libmwbridge.so+00189403
[ 30] 0x00007f3cedf6707d /usr/local/MATLAB/R2016b/bin/glnxa64/libmwbridge.so+00192637 _Z8mnParserv+00000829
[ 31] 0x00007f3ceef83243 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00537155
[ 32] 0x00007f3ceef851ce /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00545230
[ 33] 0x00007f3ceef85849 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00546889 _ZN5boost6detail17task_shared_stateINS_3_bi6bind_tIvPFvRKNS_8functionIFvvEEEENS2_5list1INS2_5valueIS6_EEEEEEvE6do_runEv+00000025
[ 34] 0x00007f3ceef84236 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00541238
[ 35] 0x00007f3cef74bb49 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00863049
[ 36] 0x00007f3cef73851c /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00783644 _ZN5boost6detail8function21function_obj_invoker0ISt8functionIFNS_3anyEvEES4_E6invokeERNS1_15function_bufferE+00000028
[ 37] 0x00007f3cef7381fc /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00782844 _ZN3iqm18PackagedTaskPlugin7executeEP15inWorkSpace_tagRN5boost10shared_ptrIN14cmddistributor17IIPCompletedEventEEE+00000428
[ 38] 0x00007f3cef717a0a /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00649738
[ 39] 0x00007f3cef703690 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00566928
[ 40] 0x00007f3cef706048 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00577608
[ 41] 0x00007f3cff55e40a /usr/local/MATLAB/R2016b/bin/glnxa64/libmwservices.so+02634762
[ 42] 0x00007f3cff55f9af /usr/local/MATLAB/R2016b/bin/glnxa64/libmwservices.so+02640303
[ 43] 0x00007f3cff5600e6 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwservices.so+02642150 _Z25svWS_ProcessPendingEventsiib+00000102
[ 44] 0x00007f3ceef838c6 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00538822
[ 45] 0x00007f3ceef83c42 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00539714
[ 46] 0x00007f3ceef718d6 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00465110
[ 47] 0x00007f3cfddbb6ba /lib/x86_64-linux-gnu/libpthread.so.0+00030394
[ 48] 0x00007f3cfdaf141d /lib/x86_64-linux-gnu/libc.so.6+01078301 clone+00000109
[ 49] 0x0000000000000000 +00000000

Abnormal termination:
Segmentation violation

Register State (from fault):
RAX = 00007f3a58871310 RBX = 0000000000000035
RCX = 00007f3a43d1f990 RDX = 00007f3a43d1f930
RSP = 00007f3ce2a05ae0 RBP = 00007f3a43d1b0e8
RSI = 0000000000000000 RDI = 0000000000000035

R8 = 00007f3a43d1f990 R9 = 0000004222f20000
R10 = 00007f3a43d1f930 R11 = 00007f3a58871310
R12 = 0000000000000000 R13 = 00007f3a4f980430
R14 = 00007f3a43d13aa8 R15 = 00007f3a53107930

RIP = 00007f3a5887133a EFL = 0000000000010202

CS = 0033 FS = 0000 GS = 0000

Stack Trace (from fault):
[ 0] 0x00007f3a5887133a /usr/local/cuda-8.0/lib64/libcudnn.so.5+02822970
[ 1] 0x00007f3b148ec794 /home/jk/gitpackages/LocNet/external/caffe_LocNet/matlab/+caffe/private/caffe_.mexa64+02545556
[ 2] 0x00007f3b1475e2b2 /home/jk/gitpackages/LocNet/external/caffe_LocNet/matlab/+caffe/private/caffe_.mexa64+00914098
[ 3] 0x00007f3b1475e406 /home/jk/gitpackages/LocNet/external/caffe_LocNet/matlab/+caffe/private/caffe_.mexa64+00914438
[ 4] 0x00007f3b146c2b9a /home/jk/gitpackages/LocNet/external/caffe_LocNet/matlab/+caffe/private/caffe_.mexa64+00277402
[ 5] 0x00007f3b146c41c2 /home/jk/gitpackages/LocNet/external/caffe_LocNet/matlab/+caffe/private/caffe_.mexa64+00283074 mexFunction+00000169
[ 6] 0x00007f3cef9c8caa /usr/local/MATLAB/R2016b/bin/glnxa64/libmex.so+00175274 mexRunMexFile+00000106
[ 7] 0x00007f3cef9c11a3 /usr/local/MATLAB/R2016b/bin/glnxa64/libmex.so+00143779
[ 8] 0x00007f3cef9c2345 /usr/local/MATLAB/R2016b/bin/glnxa64/libmex.so+00148293
[ 9] 0x00007f3ceecc18a3 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_dispatcher.so+00768163 ZN8Mfh_file16dispatch_fh_implEMS_FviPP11mxArray_tagiS2_EiS2_iS2+00000947
[ 10] 0x00007f3ceecc216e /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_dispatcher.so+00770414 ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2+00000030
[ 11] 0x00007f3cebafc847 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+11675719
[ 12] 0x00007f3cebafcaab /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+11676331
[ 13] 0x00007f3cebb62461 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+12092513
[ 14] 0x00007f3ceb488930 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+04909360
[ 15] 0x00007f3ceb48ac3c /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+04918332
[ 16] 0x00007f3ceb487410 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+04903952
[ 17] 0x00007f3ceb482855 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+04884565
[ 18] 0x00007f3ceb482b69 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+04885353
[ 19] 0x00007f3ceb48720d /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+04903437
[ 20] 0x00007f3ceb4872e2 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+04903650
[ 21] 0x00007f3ceb57e688 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+05916296
[ 22] 0x00007f3ceb580b2f /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+05925679
[ 23] 0x00007f3ceb9ff10e /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10637582
[ 24] 0x00007f3ceb9c6eab /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10407595
[ 25] 0x00007f3ceb9c6fb3 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10407859
[ 26] 0x00007f3ceb9c90d9 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10416345
[ 27] 0x00007f3ceba41bbe /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10910654
[ 28] 0x00007f3ceba41f4a /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10911562
[ 29] 0x00007f3cedf663db /usr/local/MATLAB/R2016b/bin/glnxa64/libmwbridge.so+00189403
[ 30] 0x00007f3cedf6707d /usr/local/MATLAB/R2016b/bin/glnxa64/libmwbridge.so+00192637 _Z8mnParserv+00000829
[ 31] 0x00007f3ceef83243 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00537155
[ 32] 0x00007f3ceef851ce /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00545230
[ 33] 0x00007f3ceef85849 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00546889 _ZN5boost6detail17task_shared_stateINS_3_bi6bind_tIvPFvRKNS_8functionIFvvEEEENS2_5list1INS2_5valueIS6_EEEEEEvE6do_runEv+00000025
[ 34] 0x00007f3ceef84236 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00541238
[ 35] 0x00007f3cef74bb49 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00863049
[ 36] 0x00007f3cef73851c /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00783644 _ZN5boost6detail8function21function_obj_invoker0ISt8functionIFNS_3anyEvEES4_E6invokeERNS1_15function_bufferE+00000028
[ 37] 0x00007f3cef7381fc /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00782844 _ZN3iqm18PackagedTaskPlugin7executeEP15inWorkSpace_tagRN5boost10shared_ptrIN14cmddistributor17IIPCompletedEventEEE+00000428
[ 38] 0x00007f3cef717a0a /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00649738
[ 39] 0x00007f3cef703690 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00566928
[ 40] 0x00007f3cef706048 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00577608
[ 41] 0x00007f3cff55e40a /usr/local/MATLAB/R2016b/bin/glnxa64/libmwservices.so+02634762
[ 42] 0x00007f3cff55f9af /usr/local/MATLAB/R2016b/bin/glnxa64/libmwservices.so+02640303
[ 43] 0x00007f3cff5600e6 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwservices.so+02642150 _Z25svWS_ProcessPendingEventsiib+00000102
[ 44] 0x00007f3ceef838c6 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00538822
[ 45] 0x00007f3ceef83c42 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00539714
[ 46] 0x00007f3ceef718d6 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00465110
[ 47] 0x00007f3cfddbb6ba /lib/x86_64-linux-gnu/libpthread.so.0+00030394
[ 48] 0x00007f3cfdaf141d /lib/x86_64-linux-gnu/libc.so.6+01078301 clone+00000109
[ 49] 0x0000000000000000 +00000000

Abnormal termination:
Segmentation violation

Register State (from fault):
RAX = 00007f3a58871310 RBX = 0000000000000035
RCX = 00007f3a4f9a81a0 RDX = 00007f3c084fe5f0
RSP = 00007f3ce2a05ae0 RBP = 00007f3a43cf1198
RSI = 0000000000000000 RDI = 0000000000000035

R8 = 00007f3a4f9a81a0 R9 = 0000004222f20000
R10 = 00007f3c084fe5f0 R11 = 00007f3a58871310
R12 = 0000000000000000 R13 = 00007f3a43d0ecc0
R14 = 00007f3a4f355718 R15 = 00007f3a4f829a70

RIP = 00007f3a5887133a EFL = 0000000000010202

CS = 0033 FS = 0000 GS = 0000

Stack Trace (from fault):
[ 0] 0x00007f3a5887133a /usr/local/cuda-8.0/lib64/libcudnn.so.5+02822970
[ 1] 0x00007f3b148ec794 /home/jk/gitpackages/LocNet/external/caffe_LocNet/matlab/+caffe/private/caffe_.mexa64+02545556
[ 2] 0x00007f3b1475e2b2 /home/jk/gitpackages/LocNet/external/caffe_LocNet/matlab/+caffe/private/caffe_.mexa64+00914098
[ 3] 0x00007f3b1475e406 /home/jk/gitpackages/LocNet/external/caffe_LocNet/matlab/+caffe/private/caffe_.mexa64+00914438
[ 4] 0x00007f3b146c2b9a /home/jk/gitpackages/LocNet/external/caffe_LocNet/matlab/+caffe/private/caffe_.mexa64+00277402
[ 5] 0x00007f3b146c41c2 /home/jk/gitpackages/LocNet/external/caffe_LocNet/matlab/+caffe/private/caffe_.mexa64+00283074 mexFunction+00000169
[ 6] 0x00007f3cef9c8caa /usr/local/MATLAB/R2016b/bin/glnxa64/libmex.so+00175274 mexRunMexFile+00000106
[ 7] 0x00007f3cef9c11a3 /usr/local/MATLAB/R2016b/bin/glnxa64/libmex.so+00143779
[ 8] 0x00007f3cef9c2345 /usr/local/MATLAB/R2016b/bin/glnxa64/libmex.so+00148293
[ 9] 0x00007f3ceecc18a3 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_dispatcher.so+00768163 ZN8Mfh_file16dispatch_fh_implEMS_FviPP11mxArray_tagiS2_EiS2_iS2+00000947
[ 10] 0x00007f3ceecc216e /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_dispatcher.so+00770414 ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2+00000030
[ 11] 0x00007f3cebafc847 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+11675719
[ 12] 0x00007f3cebafcaab /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+11676331
[ 13] 0x00007f3cebb62461 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+12092513
[ 14] 0x00007f3ceb488930 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+04909360
[ 15] 0x00007f3ceb48ac3c /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+04918332
[ 16] 0x00007f3ceb487410 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+04903952
[ 17] 0x00007f3ceb482855 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+04884565
[ 18] 0x00007f3ceb482b69 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+04885353
[ 19] 0x00007f3ceb48720d /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+04903437
[ 20] 0x00007f3ceb4872e2 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+04903650
[ 21] 0x00007f3ceb57e688 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+05916296
[ 22] 0x00007f3ceb580b2f /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+05925679
[ 23] 0x00007f3ceb9ff10e /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10637582
[ 24] 0x00007f3ceb9c6eab /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10407595
[ 25] 0x00007f3ceb9c6fb3 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10407859
[ 26] 0x00007f3ceb9c90d9 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10416345
[ 27] 0x00007f3ceba41bbe /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10910654
[ 28] 0x00007f3ceba41f4a /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10911562
[ 29] 0x00007f3cedf663db /usr/local/MATLAB/R2016b/bin/glnxa64/libmwbridge.so+00189403
[ 30] 0x00007f3cedf6707d /usr/local/MATLAB/R2016b/bin/glnxa64/libmwbridge.so+00192637 _Z8mnParserv+00000829
[ 31] 0x00007f3ceef83243 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00537155
[ 32] 0x00007f3ceef851ce /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00545230
[ 33] 0x00007f3ceef85849 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00546889 _ZN5boost6detail17task_shared_stateINS_3_bi6bind_tIvPFvRKNS_8functionIFvvEEEENS2_5list1INS2_5valueIS6_EEEEEEvE6do_runEv+00000025
[ 34] 0x00007f3ceef84236 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00541238
[ 35] 0x00007f3cef74bb49 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00863049
[ 36] 0x00007f3cef73851c /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00783644 _ZN5boost6detail8function21function_obj_invoker0ISt8functionIFNS_3anyEvEES4_E6invokeERNS1_15function_bufferE+00000028
[ 37] 0x00007f3cef7381fc /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00782844 _ZN3iqm18PackagedTaskPlugin7executeEP15inWorkSpace_tagRN5boost10shared_ptrIN14cmddistributor17IIPCompletedEventEEE+00000428
[ 38] 0x00007f3cef717a0a /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00649738
[ 39] 0x00007f3cef703690 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00566928
[ 40] 0x00007f3cef706048 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00577608
[ 41] 0x00007f3cff55e40a /usr/local/MATLAB/R2016b/bin/glnxa64/libmwservices.so+02634762
[ 42] 0x00007f3cff55f9af /usr/local/MATLAB/R2016b/bin/glnxa64/libmwservices.so+02640303
[ 43] 0x00007f3cff5600e6 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwservices.so+02642150 _Z25svWS_ProcessPendingEventsiib+00000102
[ 44] 0x00007f3ceef838c6 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00538822
[ 45] 0x00007f3ceef83c42 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00539714
[ 46] 0x00007f3ceef718d6 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00465110
[ 47] 0x00007f3cfddbb6ba /lib/x86_64-linux-gnu/libpthread.so.0+00030394
[ 48] 0x00007f3cfdaf141d /lib/x86_64-linux-gnu/libc.so.6+01078301 clone+00000109
[ 49] 0x0000000000000000 +00000000

Abnormal termination:
Segmentation violation

Register State (from fault):
RAX = 00007f3a58871310 RBX = 0000000000000035
RCX = 00007f3a403c72d0 RDX = 00007f3a298fb430
RSP = 00007f3ce2a05ae0 RBP = 00007f3a43cf3098
RSI = 0000000000000000 RDI = 0000000000000035

R8 = 00007f3a403c72d0 R9 = 0000004222f20000
R10 = 00007f3a298fb430 R11 = 00007f3a58871310
R12 = 0000000000000000 R13 = 00007f3a4f2ca430
R14 = 00007f3a4f980df8 R15 = 00007f3a4f323670

RIP = 00007f3a5887133a EFL = 0000000000010202

CS = 0033 FS = 0000 GS = 0000

Stack Trace (from fault):
[ 0] 0x00007f3a5887133a /usr/local/cuda-8.0/lib64/libcudnn.so.5+02822970
[ 1] 0x00007f3b148ec794 /home/jk/gitpackages/LocNet/external/caffe_LocNet/matlab/+caffe/private/caffe_.mexa64+02545556
[ 2] 0x00007f3b1475e2b2 /home/jk/gitpackages/LocNet/external/caffe_LocNet/matlab/+caffe/private/caffe_.mexa64+00914098
[ 3] 0x00007f3b1475e406 /home/jk/gitpackages/LocNet/external/caffe_LocNet/matlab/+caffe/private/caffe_.mexa64+00914438
[ 4] 0x00007f3b146c2b9a /home/jk/gitpackages/LocNet/external/caffe_LocNet/matlab/+caffe/private/caffe_.mexa64+00277402
[ 5] 0x00007f3b146c41c2 /home/jk/gitpackages/LocNet/external/caffe_LocNet/matlab/+caffe/private/caffe_.mexa64+00283074 mexFunction+00000169
[ 6] 0x00007f3cef9c8caa /usr/local/MATLAB/R2016b/bin/glnxa64/libmex.so+00175274 mexRunMexFile+00000106
[ 7] 0x00007f3cef9c11a3 /usr/local/MATLAB/R2016b/bin/glnxa64/libmex.so+00143779
[ 8] 0x00007f3cef9c2345 /usr/local/MATLAB/R2016b/bin/glnxa64/libmex.so+00148293
[ 9] 0x00007f3ceecc18a3 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_dispatcher.so+00768163 ZN8Mfh_file16dispatch_fh_implEMS_FviPP11mxArray_tagiS2_EiS2_iS2+00000947
[ 10] 0x00007f3ceecc216e /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_dispatcher.so+00770414 ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2+00000030
[ 11] 0x00007f3cebafc847 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+11675719
[ 12] 0x00007f3cebafcaab /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+11676331
[ 13] 0x00007f3cebb62461 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+12092513
[ 14] 0x00007f3ceb488930 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+04909360
[ 15] 0x00007f3ceb48ac3c /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+04918332
[ 16] 0x00007f3ceb487410 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+04903952
[ 17] 0x00007f3ceb482855 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+04884565
[ 18] 0x00007f3ceb482b69 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+04885353
[ 19] 0x00007f3ceb48720d /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+04903437
[ 20] 0x00007f3ceb4872e2 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+04903650
[ 21] 0x00007f3ceb57e688 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+05916296
[ 22] 0x00007f3ceb580b2f /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+05925679
[ 23] 0x00007f3ceb9ff10e /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10637582
[ 24] 0x00007f3ceb9c6eab /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10407595
[ 25] 0x00007f3ceb9c6fb3 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10407859
[ 26] 0x00007f3ceb9c90d9 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10416345
[ 27] 0x00007f3ceba41bbe /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10910654
[ 28] 0x00007f3ceba41f4a /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10911562
[ 29] 0x00007f3cedf663db /usr/local/MATLAB/R2016b/bin/glnxa64/libmwbridge.so+00189403
[ 30] 0x00007f3cedf6707d /usr/local/MATLAB/R2016b/bin/glnxa64/libmwbridge.so+00192637 _Z8mnParserv+00000829
[ 31] 0x00007f3ceef83243 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00537155
[ 32] 0x00007f3ceef851ce /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00545230
[ 33] 0x00007f3ceef85849 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00546889 _ZN5boost6detail17task_shared_stateINS_3_bi6bind_tIvPFvRKNS_8functionIFvvEEEENS2_5list1INS2_5valueIS6_EEEEEEvE6do_runEv+00000025
[ 34] 0x00007f3ceef84236 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00541238
[ 35] 0x00007f3cef74bb49 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00863049
[ 36] 0x00007f3cef73851c /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00783644 _ZN5boost6detail8function21function_obj_invoker0ISt8functionIFNS_3anyEvEES4_E6invokeERNS1_15function_bufferE+00000028
[ 37] 0x00007f3cef7381fc /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00782844 _ZN3iqm18PackagedTaskPlugin7executeEP15inWorkSpace_tagRN5boost10shared_ptrIN14cmddistributor17IIPCompletedEventEEE+00000428
[ 38] 0x00007f3cef717a0a /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00649738
[ 39] 0x00007f3cef703690 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00566928
[ 40] 0x00007f3cef706048 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00577608
[ 41] 0x00007f3cff55e40a /usr/local/MATLAB/R2016b/bin/glnxa64/libmwservices.so+02634762
[ 42] 0x00007f3cff55f9af /usr/local/MATLAB/R2016b/bin/glnxa64/libmwservices.so+02640303
[ 43] 0x00007f3cff5600e6 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwservices.so+02642150 _Z25svWS_ProcessPendingEventsiib+00000102
[ 44] 0x00007f3ceef838c6 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00538822
[ 45] 0x00007f3ceef83c42 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00539714
[ 46] 0x00007f3ceef718d6 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00465110
[ 47] 0x00007f3cfddbb6ba /lib/x86_64-linux-gnu/libpthread.so.0+00030394
[ 48] 0x00007f3cfdaf141d /lib/x86_64-linux-gnu/libc.so.6+01078301 clone+00000109
[ 49] 0x0000000000000000 +00000000

Abnormal termination:
Segmentation violation

Register State (from fault):
RAX = 00007f3a58871310 RBX = 00000000000000a5
RCX = 00007f3a4063aa10 RDX = 00007f3a29c9a040
RSP = 00007f3ce2a06250 RBP = 00007f3a2992a458
RSI = 0000000000000000 RDI = 00000000000000a5

R8 = 00007f3a4063aa10 R9 = 0000004222f20000
R10 = 00007f3a29c9a040 R11 = 00007f3a58871310
R12 = 0000000000000000 R13 = 00007f3a41ee3330
R14 = 00007f3a41cfed78 R15 = 00007f3a4f3773c0

RIP = 00007f3a5887133a EFL = 0000000000010206

CS = 0033 FS = 0000 GS = 0000

Stack Trace (from fault):
[ 0] 0x00007f3a5887133a /usr/local/cuda-8.0/lib64/libcudnn.so.5+02822970
[ 1] 0x00007f3b148ec794 /home/jk/gitpackages/LocNet/external/caffe_LocNet/matlab/+caffe/private/caffe_.mexa64+02545556
[ 2] 0x00007f3b1475e2b2 /home/jk/gitpackages/LocNet/external/caffe_LocNet/matlab/+caffe/private/caffe_.mexa64+00914098
[ 3] 0x00007f3b1475e406 /home/jk/gitpackages/LocNet/external/caffe_LocNet/matlab/+caffe/private/caffe_.mexa64+00914438
[ 4] 0x00007f3b146c2b9a /home/jk/gitpackages/LocNet/external/caffe_LocNet/matlab/+caffe/private/caffe_.mexa64+00277402
[ 5] 0x00007f3b146c41c2 /home/jk/gitpackages/LocNet/external/caffe_LocNet/matlab/+caffe/private/caffe_.mexa64+00283074 mexFunction+00000169
[ 6] 0x00007f3cef9c8caa /usr/local/MATLAB/R2016b/bin/glnxa64/libmex.so+00175274 mexRunMexFile+00000106
[ 7] 0x00007f3cef9c11a3 /usr/local/MATLAB/R2016b/bin/glnxa64/libmex.so+00143779
[ 8] 0x00007f3cef9c2345 /usr/local/MATLAB/R2016b/bin/glnxa64/libmex.so+00148293
[ 9] 0x00007f3ceecc18a3 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_dispatcher.so+00768163 ZN8Mfh_file16dispatch_fh_implEMS_FviPP11mxArray_tagiS2_EiS2_iS2+00000947
[ 10] 0x00007f3ceecc216e /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_dispatcher.so+00770414 ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2+00000030
[ 11] 0x00007f3cebafc847 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+11675719
[ 12] 0x00007f3cebafcaab /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+11676331
[ 13] 0x00007f3cebb62461 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+12092513
[ 14] 0x00007f3ceb58cfda /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+05976026
[ 15] 0x00007f3ceb57dc05 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+05913605
[ 16] 0x00007f3ceb580b2f /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+05925679
[ 17] 0x00007f3ceb9ff10e /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10637582
[ 18] 0x00007f3ceb9c6eab /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10407595
[ 19] 0x00007f3ceb9c6fb3 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10407859
[ 20] 0x00007f3ceb9c90d9 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10416345
[ 21] 0x00007f3ceba41bbe /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10910654
[ 22] 0x00007f3ceba41f4a /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10911562
[ 23] 0x00007f3cedf663db /usr/local/MATLAB/R2016b/bin/glnxa64/libmwbridge.so+00189403
[ 24] 0x00007f3cedf6707d /usr/local/MATLAB/R2016b/bin/glnxa64/libmwbridge.so+00192637 _Z8mnParserv+00000829
[ 25] 0x00007f3ceef83243 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00537155
[ 26] 0x00007f3ceef851ce /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00545230
[ 27] 0x00007f3ceef85849 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00546889 _ZN5boost6detail17task_shared_stateINS_3_bi6bind_tIvPFvRKNS_8functionIFvvEEEENS2_5list1INS2_5valueIS6_EEEEEEvE6do_runEv+00000025
[ 28] 0x00007f3ceef84236 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00541238
[ 29] 0x00007f3cef74bb49 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00863049
[ 30] 0x00007f3cef73851c /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00783644 _ZN5boost6detail8function21function_obj_invoker0ISt8functionIFNS_3anyEvEES4_E6invokeERNS1_15function_bufferE+00000028
[ 31] 0x00007f3cef7381fc /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00782844 _ZN3iqm18PackagedTaskPlugin7executeEP15inWorkSpace_tagRN5boost10shared_ptrIN14cmddistributor17IIPCompletedEventEEE+00000428
[ 32] 0x00007f3cef717a0a /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00649738
[ 33] 0x00007f3cef703690 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00566928
[ 34] 0x00007f3cef706048 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00577608
[ 35] 0x00007f3cff55e40a /usr/local/MATLAB/R2016b/bin/glnxa64/libmwservices.so+02634762
[ 36] 0x00007f3cff55f9af /usr/local/MATLAB/R2016b/bin/glnxa64/libmwservices.so+02640303
[ 37] 0x00007f3cff5600e6 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwservices.so+02642150 _Z25svWS_ProcessPendingEventsiib+00000102
[ 38] 0x00007f3ceef838c6 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00538822
[ 39] 0x00007f3ceef83c42 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00539714
[ 40] 0x00007f3ceef718d6 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00465110
[ 41] 0x00007f3cfddbb6ba /lib/x86_64-linux-gnu/libpthread.so.0+00030394
[ 42] 0x00007f3cfdaf141d /lib/x86_64-linux-gnu/libc.so.6+01078301 clone+00000109
[ 43] 0x0000000000000000 +00000000

Abnormal termination:
Segmentation violation

Register State (from fault):
RAX = 00007f3a58871310 RBX = 00000000000000a5
RCX = 00007f3a427fdb60 RDX = 00007f3a422d6980
RSP = 00007f3ce2a06250 RBP = 00007f3a29b55658
RSI = 0000000000000000 RDI = 00000000000000a5

R8 = 00007f3a427fdb60 R9 = 000000420b6e0000
R10 = 00007f3a422d6980 R11 = 00007f3a58871310
R12 = 0000000000000000 R13 = 00007f3a41ee3330
R14 = 00007f3a434eced8 R15 = 00007f3a4f2ef300

RIP = 00007f3a5887133a EFL = 0000000000010206

CS = 0033 FS = 0000 GS = 0000

Stack Trace (from fault):
[ 0] 0x00007f3a5887133a /usr/local/cuda-8.0/lib64/libcudnn.so.5+02822970
[ 1] 0x00007f3b148ec794 /home/jk/gitpackages/LocNet/external/caffe_LocNet/matlab/+caffe/private/caffe_.mexa64+02545556
[ 2] 0x00007f3b1475e2b2 /home/jk/gitpackages/LocNet/external/caffe_LocNet/matlab/+caffe/private/caffe_.mexa64+00914098
[ 3] 0x00007f3b1475e406 /home/jk/gitpackages/LocNet/external/caffe_LocNet/matlab/+caffe/private/caffe_.mexa64+00914438
[ 4] 0x00007f3b146c2b9a /home/jk/gitpackages/LocNet/external/caffe_LocNet/matlab/+caffe/private/caffe_.mexa64+00277402
[ 5] 0x00007f3b146c41c2 /home/jk/gitpackages/LocNet/external/caffe_LocNet/matlab/+caffe/private/caffe_.mexa64+00283074 mexFunction+00000169
[ 6] 0x00007f3cef9c8caa /usr/local/MATLAB/R2016b/bin/glnxa64/libmex.so+00175274 mexRunMexFile+00000106
[ 7] 0x00007f3cef9c11a3 /usr/local/MATLAB/R2016b/bin/glnxa64/libmex.so+00143779
[ 8] 0x00007f3cef9c2345 /usr/local/MATLAB/R2016b/bin/glnxa64/libmex.so+00148293
[ 9] 0x00007f3ceecc18a3 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_dispatcher.so+00768163 ZN8Mfh_file16dispatch_fh_implEMS_FviPP11mxArray_tagiS2_EiS2_iS2+00000947
[ 10] 0x00007f3ceecc216e /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_dispatcher.so+00770414 ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2+00000030
[ 11] 0x00007f3cebafc847 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+11675719
[ 12] 0x00007f3cebafcaab /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+11676331
[ 13] 0x00007f3cebb62461 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+12092513
[ 14] 0x00007f3ceb58cfda /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+05976026
[ 15] 0x00007f3ceb57dc05 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+05913605
[ 16] 0x00007f3ceb580b2f /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+05925679
[ 17] 0x00007f3ceb9ff10e /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10637582
[ 18] 0x00007f3ceb9c6eab /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10407595
[ 19] 0x00007f3ceb9c6fb3 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10407859
[ 20] 0x00007f3ceb9c90d9 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10416345
[ 21] 0x00007f3ceba41bbe /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10910654
[ 22] 0x00007f3ceba41f4a /usr/local/MATLAB/R2016b/bin/glnxa64/libmwm_lxe.so+10911562
[ 23] 0x00007f3cedf663db /usr/local/MATLAB/R2016b/bin/glnxa64/libmwbridge.so+00189403
[ 24] 0x00007f3cedf6707d /usr/local/MATLAB/R2016b/bin/glnxa64/libmwbridge.so+00192637 _Z8mnParserv+00000829
[ 25] 0x00007f3ceef83243 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00537155
[ 26] 0x00007f3ceef851ce /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00545230
[ 27] 0x00007f3ceef85849 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00546889 _ZN5boost6detail17task_shared_stateINS_3_bi6bind_tIvPFvRKNS_8functionIFvvEEEENS2_5list1INS2_5valueIS6_EEEEEEvE6do_runEv+00000025
[ 28] 0x00007f3ceef84236 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00541238
[ 29] 0x00007f3cef74bb49 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00863049
[ 30] 0x00007f3cef73851c /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00783644 _ZN5boost6detail8function21function_obj_invoker0ISt8functionIFNS_3anyEvEES4_E6invokeERNS1_15function_bufferE+00000028
[ 31] 0x00007f3cef7381fc /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00782844 _ZN3iqm18PackagedTaskPlugin7executeEP15inWorkSpace_tagRN5boost10shared_ptrIN14cmddistributor17IIPCompletedEventEEE+00000428
[ 32] 0x00007f3cef717a0a /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00649738
[ 33] 0x00007f3cef703690 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00566928
[ 34] 0x00007f3cef706048 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwiqm.so+00577608
[ 35] 0x00007f3cff55e40a /usr/local/MATLAB/R2016b/bin/glnxa64/libmwservices.so+02634762
[ 36] 0x00007f3cff55f9af /usr/local/MATLAB/R2016b/bin/glnxa64/libmwservices.so+02640303
[ 37] 0x00007f3cff5600e6 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwservices.so+02642150 _Z25svWS_ProcessPendingEventsiib+00000102
[ 38] 0x00007f3ceef838c6 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00538822
[ 39] 0x00007f3ceef83c42 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00539714
[ 40] 0x00007f3ceef718d6 /usr/local/MATLAB/R2016b/bin/glnxa64/libmwmcr.so+00465110
[ 41] 0x00007f3cfddbb6ba /lib/x86_64-linux-gnu/libpthread.so.0+00030394
[ 42] 0x00007f3cfdaf141d /lib/x86_64-linux-gnu/libc.so.6+01078301 clone+00000109
[ 43] 0x0000000000000000 +00000000

This error was detected while a MEX-file was running. If the MEX-file
is not an official MathWorks function, please examine its source code
for errors. Please consult the External Interfaces Guide for information
on debugging MEX-files.

If this problem is reproducible, please submit a Service Request via:
http://www.mathworks.com/support/contact_us/

A technical support engineer might contact you with further information.

Thank you for your help.`

Fine tuning

How to fine tune your model?
I don't have sufficient data to retrain your model from scratch.
I want to fine tune your model on my data which has only two classes ?

when I run the demo_LocNet_object_detection_pipeline.m follow the read.me, matlab crashed

Check failed: top[0] != bottom[0] (0x7f020bab54b0 vs. 0x7f020bab54b0) Reshape Layer does not allow in-place computation
image
GNU C Library : 2.19 stable
MATLAB Architecture: glnxa64
MATLAB Root : /usr/local/MATLAB/R2014a
MATLAB Version : 8.3.0.532 (R2014a)
Operating System : Linux 3.19.0-33-generic #38~14.04.1-Ubuntu SMP Fri Nov 6 18:17:28 UTC 2015 x86_64
I do not know how to solve it, can you help me ?
Thank you very much!

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.