Internal change

PiperOrigin-RevId: 488969539
This commit is contained in:
MediaPipe Team 2022-11-16 10:03:11 -08:00 committed by Copybara-Service
parent dc9578d226
commit cdd44e77b7

View File

@ -93,7 +93,7 @@ class GestureRecognizerTest(tf.test.TestCase):
tflite_file=gesture_classifier_tflite_file,
size=[1, model.embedding_size])
def _test_accuracy(self, model, threshold=0.5):
def _test_accuracy(self, model, threshold=0.25):
# Test on _train_data because of our limited dataset size
_, accuracy = model.evaluate(self._train_data)
tf.compat.v1.logging.info(f'train accuracy: {accuracy}')