-
Notifications
You must be signed in to change notification settings - Fork 35
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
Comments
What are your input data? |
The data is download from the GitHub
Website: https://github.com/theflofly/dnn_tensorflow_cpp/blob/master/normalized_car_features.csv
Download it in my E: root.
The program change to
DataSet data_set("", "E:/normalized_car_features.csv");
Or
DataSet data_set("E:/", " normalized_car_features.csv");
When I debug it ,I can see the data_set.x() and data_set.y() already get the data.
The error was show at the model.cc
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));
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
From: Courtial Florian<mailto:notifications@github.com>
Sent: 2018年9月27日 14:31
To: theflofly/dnn_tensorflow_cpp<mailto:dnn_tensorflow_cpp@noreply.github.com>
Cc: wikky250<mailto:whmg1234@hotmail.com>; Author<mailto:author@noreply.github.com>
Subject: Re: [theflofly/dnn_tensorflow_cpp] error when run the exe (#4)
What are your input data?
―
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#4 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AOpZ4IaXmTqaw7R9KLxr4Wnu3OkqcV_qks5ufHDbgaJpZM4W6AIE>.
|
And this is the only modification you made to the code? |
Yes, no more change.
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
…________________________________
From: Courtial Florian <notifications@github.com>
Sent: Thursday, September 27, 2018 2:40:08 PM
To: theflofly/dnn_tensorflow_cpp
Cc: wikky250; Author
Subject: Re: [theflofly/dnn_tensorflow_cpp] error when run the exe (#4)
And this is the only modification you made to the code?
―
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#4 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AOpZ4MbCBew9l3KckNwDWGm_gDRWjK_Pks5ufHLIgaJpZM4W6AIE>.
|
You built Tensorflow locally? Which version are you using? |
Tensorflow 1.5
Cmake 3.12.2
Cuda 8.0
Cudnn 5.1
All in x64
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
…________________________________
From: Courtial Florian <notifications@github.com>
Sent: Thursday, September 27, 2018 2:42:43 PM
To: theflofly/dnn_tensorflow_cpp
Cc: wikky250; Author
Subject: Re: [theflofly/dnn_tensorflow_cpp] error when run the exe (#4)
You built Tensorflow locally? Which version are you using?
―
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#4 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AOpZ4P8ZhGOtr5qP9IDw7AD0IZKPrZeGks5ufHNjgaJpZM4W6AIE>.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 ?
The text was updated successfully, but these errors were encountered: