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

Reshape inputs size should be compatible #1972

Closed
wincle opened this issue Oct 24, 2018 · 6 comments
Closed

Reshape inputs size should be compatible #1972

wincle opened this issue Oct 24, 2018 · 6 comments

Comments

@wincle
Copy link

wincle commented Oct 24, 2018

Hi , I have facing one problem , I'm running the "Compile Tensorflow Models" tutorial demo code, it's okay with the given model which is InceptionV1 from "https://github.com/dmlc/web-data/tree/master/tensorflow/models/InceptionV1" , But when I test my model which is InceptionV4, it brings Error as follow:
nnvm._base.NNVMError: Error in operator prefix/InceptionV4/Logits/PreLogitsFlatten/flatten/Reshape: [09:00:52] /tvm/nnvm/src/top/tensor/transform.cc:649: Check failed: in_attrs->at(0).Size() == in_attrs->at(1).Size() (1536 vs. 2) Reshape inputs size should be compatible
The inputs of reshape op with shapes (1,1,1,1536) and 2
output shape is (?,?)
Could you please tell why did the error happened?

@tqchen
Copy link
Member

tqchen commented Oct 24, 2018

Thanks for bringing up this problem, please open a thread at the community disucss forum https://discuss.tvm.ai

@tqchen tqchen closed this as completed Oct 24, 2018
@srkreddy1238
Copy link
Contributor

@wincle #1923 should fix this issue.

@srkreddy1238
Copy link
Contributor

@wincle
Copy link
Author

wincle commented Oct 25, 2018

@tqchen Thx! I have post my question up there, it seems need time to show up for me.

@wincle
Copy link
Author

wincle commented Oct 25, 2018

Hi, @srkreddy1238 , Thanks for your reply , I have checked the links which you posted, your work is indeed valuable, but it still confused me because I didn't find the same problems as I met which happened in nnvm.frontend.from_tensorflow at the Reshape Op.
Could you please explain clearly why did this error happened? Thx!

@srkreddy1238
Copy link
Contributor

@wincle replied on discussion forum.

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