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

ArgumentError in Net.__init__(Net, str, int) #8

Open
abarajithan11 opened this issue Oct 29, 2018 · 0 comments
Open

ArgumentError in Net.__init__(Net, str, int) #8

abarajithan11 opened this issue Oct 29, 2018 · 0 comments

Comments

@abarajithan11
Copy link

Hi, I'm trying to convert this model: https://drive.google.com/file/d/1fNffD6kAJ5JItVJLgNJP8bTV1WmcjXBF/view?usp=sharing

But I'm getting this error:

Traceback (most recent call last):
File "caffe_weight_converter.py", line 401, in
main(args)
File "caffe_weight_converter.py", line 368, in main
verbose=argv.verbose)
File "caffe_weight_converter.py", line 132, in convert_caffemodel_to_keras
verbose=False)
File "caffe_weight_converter.py", line 323, in convert_caffemodel_to_dict
net = caffe.Net(prototxt_filename, 1, weights=caffemodel_filename)
Boost.Python.ArgumentError: Python argument types in
Net.init(Net, str, int)
did not match C++ signature:
init(N5boost6python3api6objectE, Ss, Ss, i)
init(N5boost6python3api6objectE, Ss, i)

I'm using the following packages:

caffe/1.0.0-rc3-bilinear
tensorflow/1.9.0-py36-gpu
keras/2.0.8-py36

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