|
@@ -88,7 +88,7 @@ with tf.name_scope('Accuracy'):
|
|
|
acc = tf.reduce_mean(tf.cast(acc, tf.float32))
|
|
acc = tf.reduce_mean(tf.cast(acc, tf.float32))
|
|
|
|
|
|
|
|
# Initializing the variables
|
|
# Initializing the variables
|
|
|
-init = tf.initialize_all_variables()
|
|
|
|
|
|
|
+init = tf.global_variables_initializer()
|
|
|
|
|
|
|
|
# Create a summary to monitor cost tensor
|
|
# Create a summary to monitor cost tensor
|
|
|
tf.summary.scalar("loss", loss)
|
|
tf.summary.scalar("loss", loss)
|