ShaoqingRen / SPP_net

SPP_net : Spatial Pyramid Pooling in Deep Convolutional Networks for Visual Recognition
363 stars 236 forks source link

OS platform #11

Closed jackiechensuper closed 9 years ago

jackiechensuper commented 9 years ago

Hi Shaoqing, Could the SPP net support the linux? Since I run the caffe in pre-requirement, I got the following make error: ./include/caffe/syncedmem.hpp: In constructor ‘caffe::SyncedMemory::SyncedMemory(sizet)’: ./include/caffe/syncedmem.hpp:67:10: warning: ‘caffe::SyncedMemory::size’ will be initialized after [-Wreorder] ./include/caffe/syncedmem.hpp:65:10: warning: ‘size_t caffe::SyncedMemory::cpucapacity’ [-Wreorder] ./include/caffe/syncedmem.hpp:43:12: warning: when initialized here [-Wreorder] python/caffe/_caffe.cpp: In member function ‘void caffe::PyNet::set_input_arrays(boost::python::api::object, boost::python::api::object)’: python/caffe/_caffe.cpp:96:14: error: ‘MemoryDataLayer’ was not declared in this scope python/caffe/_caffe.cpp:96:35: error: template argument 1 is invalid python/caffe/_caffe.cpp:96:37: error: expected unqualified-id before ‘>’ token python/caffe/_caffe.cpp:98:8: error: ‘md_layer’ was not declared in this scope python/caffe/_caffe.cpp:108:50: error: ‘md_layer’ was not declared in this scope make: *\ [python/caffe/_caffe.so] Error 1

jackiechensuper commented 9 years ago

Also same with make matcaffe. it gave the same error. Have you test it on linux? since I downloaded the caffe in pre-requirement, it reported error when I compile matcaffe or pycaffe. Thanks for your help.

ShaoqingRen commented 9 years ago

Hi, We updated the memory structure and remove MemoryDataLayer in this version, so pls remove MemoryDataLayer in python wapper. I havn't complie python wapper, so forget to remove it. Sorry.

For matcaffe, there is no problem on my machine, could provide the error message ?

ghost commented 9 years ago

Can you provide some details on how to remove MemoryDataLayer from the python wrapper?