Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

classify-samples.py run failed #21

Open
alexhegit opened this issue Oct 22, 2018 · 0 comments
Open

classify-samples.py run failed #21

alexhegit opened this issue Oct 22, 2018 · 0 comments

Comments

@alexhegit
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant