wolffg / tf-tutorial

Short tutorial for TensorFlow, designed to be presented in-person
134 stars 311 forks source link

Encountered ValueError when calling nn.sparse_softmax_cross_entropy_w… #9

Open shwei opened 7 years ago

shwei commented 7 years ago

Got the error message that says "only call sparse_softmax_cross_entropy_with_logits with named arguments (labels=..., logits=...,).

error running sparse_softmax_cross_entropy_with_logits

Running on TensorFlow 1.2.1 and Python 2.7.12