Created
February 21, 2017 02:19
-
-
Save llhe/6d95d2e31ad3c5a886dc8c3bd6ace95b 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
import argparse | |
import tensorflow as tf | |
from tensorflow.examples.tutorials.mnist import input_data | |
def train(): | |
mnist = input_data.read_data_sets("/tmp/data", | |
one_hot=True, | |
fake_data=False) | |
sess = tf.InteractiveSession() | |
with tf.name_scope('input'): | |
x = tf.placeholder(tf.float32, [None, 784], name='x-input') | |
tf.image_summary('input', x, 10) | |
train() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment