Created
December 12, 2018 04:57
-
-
Save ChunML/d68ec9bc14833523deaae115320b2af0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
img, label = one_shot_input_fn(filenames, labels) | |
with tf.Session() as sess: | |
sess.run(tf.global_variables_initializer()) | |
res_imgs = [] | |
res_labels = [] | |
for _ in range(16): | |
res_img, res_label = sess.run([img, label]) | |
res_imgs.append(res_img) | |
res_labels.append(res_label) | |
visualize_dataset(res_imgs, res_labels) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment