You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to convert some of the pre-trained models provided by caffe, I received this error:
$ python ../../caffe-tensorflow/convert.py hybridCNN_deploy.prototxt --caffemodel hybridCNN_iter_700000.caffemodel --data-output-path ../ --code-output-path ../
Traceback (most recent call last):
File "../../caffe-tensorflow/convert.py", line 60, in <module>
main()
File "../../caffe-tensorflow/convert.py", line 56, in main
args.phase)
File "../../caffe-tensorflow/convert.py", line 27, in convert
transformer = TensorFlowTransformer(def_path, caffemodel_path, phase=phase)
File "/Users/auyer/python/caffe-tensorflow/kaffe/tensorflow/transformer.py", line 221, in __init__
self.load(def_path, data_path, phase)
File "/Users/auyer/python/caffe-tensorflow/kaffe/tensorflow/transformer.py", line 227, in load
graph = GraphBuilder(def_path, phase).build()
File "/Users/auyer/python/caffe-tensorflow/kaffe/graph.py", line 140, in __init__
self.load()
File "/Users/auyer/python/caffe-tensorflow/kaffe/graph.py", line 144, in load
self.params = get_caffe_resolver().NetParameter()
File "/Users/auyer/python/caffe-tensorflow/kaffe/caffe/resolver.py", line 32, in get_caffe_resolver
SHARED_CAFFE_RESOLVER = CaffeResolver()
File "/Users/auyer/python/caffe-tensorflow/kaffe/caffe/resolver.py", line 7, in __init__
self.import_caffe()
File "/Users/auyer/python/caffe-tensorflow/kaffe/caffe/resolver.py", line 17, in import_caffe
from . import caffepb
File "/Users/auyer/python/caffe-tensorflow/kaffe/caffe/caffepb.py", line 28, in <module>
type=None),
File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/google/protobuf/descriptor.py", line 693, in __new__
_message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors should not be created directly, but only retrieved from their parent.
The same error appeared when trying to convert the "googlenet_places205" network.
When trying to convert some of the pre-trained models provided by caffe, I received this error:
The same error appeared when trying to convert the "googlenet_places205" network.
The text was updated successfully, but these errors were encountered: