Getting error in make test command caffee

95 views
Skip to first unread message
Assigned to mih...@gmail.com by me

Satyam Mishra

unread,
Oct 23, 2016, 6:28:50 PM10/23/16
to Caffe Users
Hello All,

Getting following error on running the make test command in caffe-portraitseg folder:

src/caffe/test/test_io.cpp:325:71: error: no matching function for call to ‘ReadImageToDatum(std::string&, int, std::string, caffe::Datum*)’
   EXPECT_TRUE(ReadImageToDatum(filename, 0, std::string("jpg"), &datum));
                                                                       ^
./src/gtest/gtest.h:7859:34: note: in definition of macro ‘GTEST_TEST_BOOLEAN_’
       ::testing::AssertionResult(expression)) \
                                  ^
src/caffe/test/test_io.cpp:325:3: note: in expansion of macro ‘EXPECT_TRUE’
   EXPECT_TRUE(ReadImageToDatum(filename, 0, std::string("jpg"), &datum));
   ^
src/caffe/test/test_io.cpp:325:71: note: candidates are:
   EXPECT_TRUE(ReadImageToDatum(filename, 0, std::string("jpg"), &datum));
                                                                      
Thanks in advance.
Regards,
Satyam

Александра Торопова

unread,
Feb 2, 2017, 1:33:25 AM2/2/17
to Caffe Users
Me too. Did you find a solution?

понедельник, 24 октября 2016 г., 5:28:50 UTC+7 пользователь Satyam Mishra написал:

rohit bharadwaj

unread,
Dec 4, 2020, 3:52:24 AM12/4/20
to Caffe Users
BUMP. any updates?
Reply all
Reply to author
Forward
0 new messages