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

boost version hack fix. #53

Merged
merged 1 commit into from
Jul 28, 2017
Merged

boost version hack fix. #53

merged 1 commit into from
Jul 28, 2017

Conversation

seewalker
Copy link

As seen in this caffe issue, the construction of caffe.Net objects can fail with certain versions of boost and string encodings. I ran into the error message:

ArgumentError: Python argument types in
    Net.__init__(Net, unicode, unicode, int)
did not match C++ signature:
    __init__(boost::python::api::object, std::string, std::string, int) 

This error occurs when using the kaixhin/caffe docker image of caffe. The explicit call to str which this pull request adds gets this style transfer project working out of the box in this environment. I think this is significant because this is a docker image recommended in the caffe installation docs.

@fzliu
Copy link
Owner

fzliu commented Jul 28, 2017

Thanks!

@fzliu fzliu merged commit c19977a into fzliu:master Jul 28, 2017
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

Successfully merging this pull request may close these issues.

2 participants