error: no matching function for call to 'caffe::Net<float>::Net(<brace-enclosed initializer list>)'

37 views
Skip to first unread message

Shopper Plug

unread,
Oct 1, 2022, 12:04:34 AM10/1/22
to Caffe Users
Hello,

Getting an error when building Caffe with "CPU_ONLY", using GCC11 on FreeBSD.

I get the following error:

[ 33%] Building CXX object src/openpose/producer/CMakeFiles/openpose_producer.dir/videoReader.cpp.o
/usr/home/user/openpose/src/openpose/net/netCaffe.cpp: In member function 'virtual void op::NetCaffe::initializationOnThread()':
/usr/home/user/openpose/src/openpose/net/netCaffe.cpp:183:108: error: no matching function for call to 'caffe::Net<float>::Net(<brace-enclosed initializer list>)'
 183 |                             upImpl->upCaffeNet.reset(new caffe::Net<float>{upImpl->mCaffeProto, caffe::TEST});

How to solve the issue?

Thanks.
Reply all
Reply to author
Forward
0 new messages