Skip to content
This repository has been archived by the owner on Oct 19, 2019. It is now read-only.

Bug in ResNet forward.py #2

Open
hamidpalangi opened this issue Mar 18, 2016 · 2 comments
Open

Bug in ResNet forward.py #2

hamidpalangi opened this issue Mar 18, 2016 · 2 comments

Comments

@hamidpalangi
Copy link

Thanks for the great work @ry .

I am trying to use your converted TF models. I just tried "forward.py" but got the following RunTime error:

RuntimeError: NodeDef mentions attr 'data_format' not in Op<name=Conv2D; signature=input:T, filter:T -> output:T; attr=T:type,allowed=[DT_FLOAT, DT_DOUBLE]; attr=strides:list(int); attr=use_cudnn_on_gpu:bool,default=true; attr=padding:string,allowed=["SAME", "VALID"]>; NodeDef: import/conv1/conv = Conv2D[T=DT_FLOAT, data_format="NHWC", padding="SAME", strides=[1, 2, 2, 1], use_cudnn_on_gpu=true, _device="/device:CPU:0"](import/preprocess/centered_bgr, import/conv1/kernel)
^CWe've got an error while stopping in post-mortem: <type 'exceptions.KeyboardInterrupt'>

I tried all 3 TF models but got the same error. I checked the downloaded files and they were downloaded fully and correctly. Can you please help?

Thanks much!
Hamid

@gaxler
Copy link

gaxler commented Mar 20, 2016

Had the same problem. I assume it's due to tfmodel been generated on older version of TF
IMO this is a relevant issue. tensorflow/tensorflow#1528

I'll try to convert the Caffe models on the newest version of TF. Hopefully this will solve the problem

@hamidpalangi
Copy link
Author

Thanks much gaxler! Would it be possible to share your converted models to TF? For some reason I can not install Caffe on my machine ...

Thanks!
Hamid

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants