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

Which version of tensorflow for resnet? #170

Open
xkx0430 opened this issue Apr 11, 2018 · 0 comments
Open

Which version of tensorflow for resnet? #170

xkx0430 opened this issue Apr 11, 2018 · 0 comments

Comments

@xkx0430
Copy link

xkx0430 commented Apr 11, 2018

When I convert "ResNet_50_deploy.prototxt" to tensorflow model, but ...

Saving source...
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 37, in convert
src_out.write(transformer.transform_source())
File "/home/arx/Disk/Source/caffe-tensorflow/kaffe/tensorflow/transformer.py", line 282, in transform_source
chains = mapper.map()
File "/home/arx/Disk/Source/caffe-tensorflow/kaffe/graph.py", line 288, in map
mapped_chains.append(self.map_chain(chain))
File "/home/arx/Disk/Source/caffe-tensorflow/kaffe/graph.py", line 292, in map_chain
return [self.map_node(node) for node in chain]
File "/home/arx/Disk/Source/caffe-tensorflow/kaffe/graph.py", line 296, in map_node
mapped_node = map_func(node)
File "/home/arx/Disk/Source/caffe-tensorflow/kaffe/tensorflow/transformer.py", line 149, in map_batch_norm
scale_offset = len(node.data) == 4
TypeError: object of type 'NoneType' has no len()

I used tensorflow 1.7. This version isn't supported?
Thanks!

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

1 participant