Esempio n. 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'))
Esempio n. 2
0
 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))
Esempio n. 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))
Esempio n. 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"))