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

Running into Assertion Error #185

Open
divyanshpal opened this issue Mar 5, 2019 · 4 comments
Open

Running into Assertion Error #185

divyanshpal opened this issue Mar 5, 2019 · 4 comments

Comments

@divyanshpal
Copy link

I am trying to convert a caffee model to tf and run into following error.
Traceback (most recent call last):
File "convert.py", line 68, in
main()
File "convert.py", line 64, in main
args.phase)
File "convert.py", line 27, in convert
transformer = TensorFlowTransformer(def_path, caffemodel_path, phase=phase)
File "/home/divyansh/face_recognition/caffe2tf/caffe-tensorflow/kaffe/tensorflow/transformer.py", line 221, in init
self.load(def_path, data_path, phase)
File "/home/divyansh/face_recognition/caffe2tf/caffe-tensorflow/kaffe/tensorflow/transformer.py", line 227, in load
graph = GraphBuilder(def_path, phase).build()
File "/home/divyansh/face_recognition/caffe2tf/caffe-tensorflow/kaffe/graph.py", line 209, in build
layers = self.filter_layers(layers)
File "/home/divyansh/face_recognition/caffe2tf/caffe-tensorflow/kaffe/graph.py", line 168, in filter_layers
assert layer.name not in filtered_layer_names
AssertionError

@tanndx17
Copy link

tanndx17 commented Jul 9, 2019

hi, did you solve the problem? I met a similar issue, but another layer name not in graph

@PonderK
Copy link

PonderK commented Jul 15, 2019

@tanndx17 @divyanshpal hello, i have the same error with yours, do you have any solution?

@tanndx17
Copy link

@PonderK Not yet, I guess it's the op naming issue in tensorflow

@vanessawei726
Copy link

I ran into the same question of yours and wondered if anyone found the solution

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

4 participants