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

error when run the exe #4

Open
wikky250 opened this issue Sep 26, 2018 · 6 comments
Open

error when run the exe #4

wikky250 opened this issue Sep 26, 2018 · 6 comments

Comments

@wikky250
Copy link

i just build the program well
when the program run to the line 90:
TF_CHECK_OK(session.Run({{x, x_data}, {y, y_data}}, {apply_w1, apply_w2, apply_w3, apply_b1, apply_b2, apply_b3}, nullptr));
the system always told me two error:
some time is Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.92GiB. Current allocation summary follows.
another time is Non-OK-status: session.Run({ { x, x_data },{ y, y_data } }, { apply_w1, apply_w2, apply_w3, apply_b1, apply_b2, apply_b3, layer_3 }, nullptr) status: Invalid argument: Incompatible shapes: [2] vs. [0]
I'm not sure which error is right.
So what should i do ?

@theflofly
Copy link
Owner

What are your input data?

@wikky250
Copy link
Author

wikky250 commented Sep 27, 2018 via email

@theflofly
Copy link
Owner

And this is the only modification you made to the code?

@wikky250
Copy link
Author

wikky250 commented Sep 27, 2018 via email

@theflofly
Copy link
Owner

You built Tensorflow locally? Which version are you using?

@wikky250
Copy link
Author

wikky250 commented Sep 27, 2018 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

2 participants