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

Python classifier.py is broken after introducing phase #1905

Closed
vpestret opened this issue Feb 19, 2015 · 2 comments
Closed

Python classifier.py is broken after introducing phase #1905

vpestret opened this issue Feb 19, 2015 · 2 comments

Comments

@vpestret
Copy link

vpestret@vpestret-desk1:~/Documents/projects/blabla$ GLOG_minloglevel=1 python modules/blabla/resources/diagnose_gnet1.py
Traceback (most recent call last):
File "modules/blabla/resources/diagnose_gnet1.py", line 47, in
net = caffe.Classifier('modules/blabla/resources/gnet1_deploy.prototxt','modules/blabla/resources/blabla.caffemodel')
File "/home/vpestret/Documents/projects/caffe-build/python/caffe/classifier.py", line 26, in init
caffe.Net.init(self, model_file, pretrained_file)
Boost.Python.ArgumentError: Python argument types in
Net.init(Classifier, str, str)
did not match C++ signature:
init(boost::python::api::object, std::string, std::string, int)
init(boost::python::api::object, std::string, int)

@vpestret
Copy link
Author

OOps fixed in PR #1902

@shelhamer
Copy link
Member

Yeah -- there was a gap between the interface change and example fix -- but the wait was needed to figure out a step to splitting off the pre-processing code.

This issue was closed.
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

2 participants