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
I tried to convert a caffe model, but I got an error. I tried convert the provided example, and I got the same error below.
Python 3.7.4
caffe 1.0.0
tensorflow 1.14.0
$ python convert.py examples/mnist/lenet.prototxt --code-output-path=mynet.py
Traceback (most recent call last):
File "convert.py", line 60, in
main()
File "convert.py", line 56, in main
args.phase)
File "convert.py", line 27, in convert
transformer = TensorFlowTransformer(def_path, caffemodel_path, phase=phase)
File "/mnt/e/Programming/python/ml/caffe-tensorflow-master/kaffe/tensorflow/transformer.py", line 221, in init
self.load(def_path, data_path, phase)
File "/mnt/e/Programming/python/ml/caffe-tensorflow-master/kaffe/tensorflow/transformer.py", line 254, in load
print_stderr(self.graph)
File "/mnt/e/Programming/python/ml/caffe-tensorflow-master/kaffe/errors.py", line 7, in print_stderr
sys.stderr.write('%s\n' % msg)
File "/mnt/e/Programming/python/ml/caffe-tensorflow-master/kaffe/graph.py", line 125, in str
tuple(out_shape)))
TypeError: unsupported format string passed to tuple.format
The text was updated successfully, but these errors were encountered:
I tried to convert a caffe model, but I got an error. I tried convert the provided example, and I got the same error below.
Python 3.7.4
caffe 1.0.0
tensorflow 1.14.0
$ python convert.py examples/mnist/lenet.prototxt --code-output-path=mynet.py
Traceback (most recent call last):
File "convert.py", line 60, in
main()
File "convert.py", line 56, in main
args.phase)
File "convert.py", line 27, in convert
transformer = TensorFlowTransformer(def_path, caffemodel_path, phase=phase)
File "/mnt/e/Programming/python/ml/caffe-tensorflow-master/kaffe/tensorflow/transformer.py", line 221, in init
self.load(def_path, data_path, phase)
File "/mnt/e/Programming/python/ml/caffe-tensorflow-master/kaffe/tensorflow/transformer.py", line 254, in load
print_stderr(self.graph)
File "/mnt/e/Programming/python/ml/caffe-tensorflow-master/kaffe/errors.py", line 7, in print_stderr
sys.stderr.write('%s\n' % msg)
File "/mnt/e/Programming/python/ml/caffe-tensorflow-master/kaffe/graph.py", line 125, in str
tuple(out_shape)))
TypeError: unsupported format string passed to tuple.format
The text was updated successfully, but these errors were encountered: