happynear / caffe-windows

Configure Caffe in one hour for Windows users.
Other
1.32k stars 650 forks source link

Problem using the MemoryDataLayer for your MTCNN from caffe in c++ Linux #246

Closed Dicksonchin93 closed 6 years ago

Dicksonchin93 commented 6 years ago

I cloned your caffe-windows repo on a ubuntu 16.04 machine and successfully build it using cmake. As your modified proposal net in MTCNN needs the memorydatalayer I implemented another way in C++ on ubuntu to input the data similar to the link below

https://qiita.com/tommys_557799/items/ca18e08cfb1c3cd250ae

But when building my code I received the error below.

error: ‘MemoryDataLayer’ is not a member of ‘caffe’

Does anyone know why I can't call MemoryDataLayer from caffe? Blobs and net can be called from caffe just fine.

happynear commented 6 years ago

include <caffe/layers/memory_data_layer.hpp>

Dicksonchin93 commented 6 years ago

Done build thanks. But have another error when I try to run your caffe version on ubuntu

cudnn.hpp:122] Check failed: status == CUDNN_STATUS_SUCCESS (3 vs. 0) CUDNN_STATUS_BAD_PARAM Check failure stack trace: Aborted

Dicksonchin93 commented 6 years ago

Its fine solved it by reinstalling newer nvidia driver and cudnn and rebuild