pierluigiferrari / caffe_weight_converter

Caffe-to-Keras weight converter. Can also export weights as Numpy arrays for further processing.
GNU General Public License v3.0
69 stars 25 forks source link

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

Open abarajithan11 opened 6 years ago

abarajithan11 commented 6 years ago

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