Skip to content

Instantly share code, notes, and snippets.

@ChadTaljaardt
Created January 30, 2017 17:10
Show Gist options
  • Save ChadTaljaardt/85b542333cd1f02ffb93263975379800 to your computer and use it in GitHub Desktop.
Save ChadTaljaardt/85b542333cd1f02ffb93263975379800 to your computer and use it in GitHub Desktop.
chad@chad-GA-990XA-UD3:~/Desktop/deep-anpr$ ./train.py
I tensorflow/stream_executor/dso_loader.cc:125] successfully opened CUDA library libcublas.so.8.0 locally
I tensorflow/stream_executor/dso_loader.cc:125] successfully opened CUDA library libcudnn.so.5 locally
I tensorflow/stream_executor/dso_loader.cc:125] successfully opened CUDA library libcufft.so.8.0 locally
I tensorflow/stream_executor/dso_loader.cc:125] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:125] successfully opened CUDA library libcurand.so.8.0 locally
Traceback (most recent call last):
File "./train.py", line 263, in <module>
initial_weights=initial_weights)
File "./train.py", line 171, in train
digits_loss, presence_loss, loss = get_loss(y, y_)
File "./train.py", line 137, in get_loss
y[:, :1], y_[:, :1])
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/nn_impl.py", line 146, in sigmoid_cross_entropy_with_logits
_sentinel, labels, logits)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/nn_ops.py", line 1533, in _ensure_xent_args
"named arguments (labels=..., logits=..., ...)" % name)
ValueError: Only call `sigmoid_cross_entropy_with_logits` with named arguments (labels=..., logits=..., ...)
chad@chad-GA-990XA-UD3:~/Desktop/deep-anpr$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment