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

Can't Convert Example #188

Open
jsl303 opened this issue Aug 11, 2019 · 2 comments
Open

Can't Convert Example #188

jsl303 opened this issue Aug 11, 2019 · 2 comments

Comments

@jsl303
Copy link

jsl303 commented Aug 11, 2019

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

@KyleBan
Copy link

KyleBan commented Apr 23, 2022

Hi, I have the same problem and I do not know how to solve that. Have you solve that yet?

@YCakira
Copy link

YCakira commented Apr 23, 2022 via email

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

3 participants