I am trying to convert a caffe model to tensorflow, but I found the following problems in the script:
The conversion method is assigned a variable not previously defined. To solve this, I believe that the "caffe_model" variable is the path to my .caffemodel (defined as input_caffe_path);
Change:coreml_model = coremltools.converters.caffe.convert((caffe_model, proto_file))
to:
coreml_model = coremltools.converters.caffe.convert((input_caffe_path, proto_file))
After making this modification, I come across the following error:
Thank you for your feedback. The coreml-converter script has been fixed. It looks like this is a bug in the converter, so I've transferred it to onnxmltools. Can you provide the model for debugging?
I am trying to convert a caffe model to tensorflow, but I found the following problems in the script:
Change:
coreml_model = coremltools.converters.caffe.convert((caffe_model, proto_file))
to:coreml_model = coremltools.converters.caffe.convert((input_caffe_path, proto_file))