Example #1
0
 def testAddEvaluationStep(self):
   with tf.Graph().as_default():
     with tf.Session() as sess:
       tf.placeholder(tf.float32, [1], name='final')
       tf.placeholder(tf.float32, [1], name='gt')
       self.assertIsNotNone(retrain.add_evaluation_step(sess.graph, 'final',
                                                        'gt'))
 def testAddEvaluationStep(self):
   with tf.Graph().as_default():
     final = tf.placeholder(tf.float32, [1], name='final')
     gt = tf.placeholder(tf.int64, [1], name='gt')
     self.assertIsNotNone(retrain.add_evaluation_step(final, gt))
Example #3
0
 def testAddEvaluationStep(self):
   with tf.Graph().as_default():
     final = tf.placeholder(tf.float32, [1], name='final')
     gt = tf.placeholder(tf.float32, [1], name='gt')
     self.assertIsNotNone(retrain.add_evaluation_step(final, gt))
Example #4
0
 def testAddEvaluationStep(self):
     with tf.Graph().as_default():
         with tf.Session() as sess:
             tf.placeholder(tf.float32, [1], name="final")
             tf.placeholder(tf.float32, [1], name="gt")
             self.assertIsNotNone(retrain.add_evaluation_step(sess.graph, "final", "gt"))