title: ValueError: Only call `softmax_cross_entropy_with_logits` with named arguments (labels=..., logits=..., ...) error
body: <p>The error is ValueError:</p>
  
  <blockquote>
    <p>Only call <code>softmax_cross_entropy_with_logits</code> with named arguments (labels=..., logits=..., ...).</p>
  </blockquote>
  
  <p>The code is <a href="https://github.com/drvladb/stackoverflow/blob/master/code.py" rel="nofollow noreferrer">https://github.com/drvladb/stackoverflow/blob/master/code.py</a>.</p>
  
  <p>It is run in Python 3.5.2 <em>with</em> tensorflow 1.8 and numpy 1.13.3. I have tried using different versions of python and tensorflow and on a docker and anaconda but no avail.</p>
  
  <p>Can I please get some help with fixing it?</p>