Skip to content

2_mnist error with Step 2.6 "Build the complete graph for feeding inputs, training, and saving checkpoints." #10

@magicmathmandarin

Description

@magicmathmandarin

Hi, I just downloaded the code tonight. I was able to run 0_tf_hello_world.ipynb and 1_linear_regression_model.ipynb without problem, except some warning messages.

But I got error running 2_mnist.ipynb, starting from Step 2.6. The error messages are "ValueError: Only call sparse_softmax_cross_entropy_with_logits with named arguments (labels=..., logits=..., ...)".

I am using TensorFlow version 1.1, Python 3.5 and Window 10.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions