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

Correction to Getting Started #11123

Closed
svtphysicist opened this issue Jun 28, 2017 · 4 comments
Closed

Correction to Getting Started #11123

svtphysicist opened this issue Jun 28, 2017 · 4 comments
Labels
type:docs-bug Document issues

Comments

@svtphysicist
Copy link

Hello,

I would like to submit that there is a programming bug on line 29 of the "custom model tutorial" within Getting Started with Tensorflow.

The line should read:

input_fn = tf.contrib.learn.io.numpy_input_fn({"x":x_train}, y_train, batch_size=4, num_epochs=1000)

​Best regards.
Jeff​

@byett
Copy link

byett commented Jun 28, 2017

That line works fine for me; however eval_input_fn isn't defined at all. Probably just needs to be:
eval_input_fn = tf.contrib.learn.io.numpy_input_fn(
{"x":x_eval}, y_eval, batch_size=4, num_epochs=1000)

as it is in the previous example

@skye
Copy link
Member

skye commented Jun 29, 2017

@dr4b @wolffg

@aselle
Copy link
Contributor

aselle commented Jul 6, 2017

@svtphysicist
Copy link
Author

svtphysicist commented Jul 6, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:docs-bug Document issues
Projects
None yet
Development

No branches or pull requests

5 participants