def testImageAugmentation(self): x = np.random.rand(500, 500, 3) with self.test_session() as session: y = image_utils.image_augmentation(tf.constant(x)) res = session.run(y) self.assertEqual(res.shape, (299, 299, 3))
def testImageAugmentation(self): x = np.random.rand(500, 500, 3) with self.test_session() as session: y = image_utils.image_augmentation(tf.constant(x)) res = session.run(y) self.assertEqual(res.shape, (299, 299, 3))