Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

Commit

Permalink
Relax OpenFace error bar (#673)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiafatom authored Dec 21, 2020
1 parent 7b613c9 commit 3b0ccec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applications/nightly_build/test_open_face.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def test_OpenFace(self):
x = np.random.rand(2, 96, 96, 3).astype(np.float32)
expected = keras_model.predict(x)
onnx_model = keras2onnx.convert_keras(keras_model, keras_model.name)
self.assertTrue(run_onnx_runtime(onnx_model.graph.name, onnx_model, x, expected, self.model_files))
self.assertTrue(run_onnx_runtime(onnx_model.graph.name, onnx_model, x, expected, self.model_files, rtol=5e-3, atol=5e-6))


if __name__ == "__main__":
Expand Down

0 comments on commit 3b0ccec

Please sign in to comment.