Skip to content

Instantly share code, notes, and snippets.

@ispamm
Last active November 27, 2018 11:33
Show Gist options
  • Save ispamm/c5a2f70c377220fbb0715d98ef2fd60b to your computer and use it in GitHub Desktop.
Save ispamm/c5a2f70c377220fbb0715d98ef2fd60b to your computer and use it in GitHub Desktop.
# We can debug using eager execution
for img, labels in dataset.batch(4).take(1):
print(img)
print(labels)
# tf.Tensor(
# [b'lfw_5590/Aaron_Eckhart_0001.jpg' b'lfw_5590/Aaron_Guiel_0001.jpg' ...
# 2. 3. ]], shape=(4, 14), dtype=float64)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment