Open alexhegit opened 5 years ago
root@8f88fbfbe029:/data/repo/test# python classify-samples.py -c /root/caffe/ -m epoch_30/ -d untrained-samples/ Traceback (most recent call last): File "classify-samples.py", line 113, in main() File "classify-samples.py", line 95, in main classifier = ImageClassifier(model_dir) File "classify-samples.py", line 13, in init self.net = caffe.Net(deploy_file, caffe.TEST, weights=weights_file) Boost.Python.ArgumentError: Python argument types in Net.init(Net, str, int) did not match C++ signature: init(boost::python::api::object, std::cxx11::basic_string<char, std::char_traits, std::allocator >, std::cxx11::basic_string<char, std::char_traits, std::allocator >, int)
root@8f88fbfbe029:/data/repo/test# python classify-samples.py -c /root/caffe/ -m epoch_30/ -d untrained-samples/ Traceback (most recent call last): File "classify-samples.py", line 113, in
main()
File "classify-samples.py", line 95, in main
classifier = ImageClassifier(model_dir)
File "classify-samples.py", line 13, in init
self.net = caffe.Net(deploy_file, caffe.TEST, weights=weights_file)
Boost.Python.ArgumentError: Python argument types in
Net.init(Net, str, int)
did not match C++ signature:
init(boost::python::api::object, std::cxx11::basic_string<char, std::char_traits, std::allocator >, std:: cxx11::basic_string<char, std::char_traits, std::allocator >, int)