Update speech2text_test.py
Relaxed thresholds in the regularizer test
@@ -82,9 +82,9 @@ class Speech2TextModelTests(tf.test.TestCase):
})
loss, eval_loss, eval_dict = self.run_model(train_config, eval_config)
- self.assertGreaterEqual(loss, 500.0)
- self.assertGreaterEqual(eval_loss, 500.0)
- self.assertGreaterEqual(eval_dict['Eval WER'], 0.95)
+ self.assertGreaterEqual(loss, 400.0)
+ self.assertGreaterEqual(eval_loss, 400.0)
+ self.assertGreaterEqual(eval_dict['Eval WER'], 0.9)
def convergence_test(self, train_loss_threshold,
eval_loss_threshold, eval_wer_threshold):
