From 8d0f1d5886bb62047e3d17c6b802758399d67589 Mon Sep 17 00:00:00 2001 From: Benjamin Date: Mon, 12 Aug 2024 16:51:47 -0700 Subject: [PATCH] increase error tolerance --- .github/ISSUE_TEMPLATE/bug_report.yml | 1 - .github/workflows/c-demos.yml | 7 +------ binding/python/test_orca.py | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index d8d4184c..23a64009 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -53,7 +53,6 @@ body: - macOS (x86_64, arm64) - Windows (x86_64) - Raspberry Pi - - NVIDIA Jetson validations: required: true - type: input diff --git a/.github/workflows/c-demos.yml b/.github/workflows/c-demos.yml index 9b7f54b7..59bb8876 100644 --- a/.github/workflows/c-demos.yml +++ b/.github/workflows/c-demos.yml @@ -8,7 +8,6 @@ on: - '.github/workflows/c-demos.yml' - 'demo/c/**' - 'lib/common/**' - - 'lib/jetson/**' - 'lib/linux/**' - 'lib/mac/**' - 'lib/raspberry-pi/**' @@ -20,7 +19,6 @@ on: - '.github/workflows/c-demos.yml' - 'demo/c/**' - 'lib/common/**' - - 'lib/jetson/**' - 'lib/linux/**' - 'lib/mac/**' - 'lib/raspberry-pi/**' @@ -78,7 +76,7 @@ jobs: strategy: matrix: - machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64, jetson] + machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64] include: - machine: rpi3-32 platform: raspberry-pi @@ -95,9 +93,6 @@ jobs: - machine: rpi5-64 platform: raspberry-pi arch: cortex-a76-aarch64 - - machine: jetson - platform: jetson - arch: cortex-a57-aarch64 steps: - uses: actions/checkout@v3 diff --git a/binding/python/test_orca.py b/binding/python/test_orca.py index 6fdcfc51..a6fc665c 100644 --- a/binding/python/test_orca.py +++ b/binding/python/test_orca.py @@ -48,7 +48,7 @@ def _test_audio(self, pcm: Sequence[int], ground_truth: Sequence[int]) -> None: pcm = pcm[:len(ground_truth)] # compensate for discrepancies due to wav header self.assertEqual(len(pcm), len(ground_truth)) for i in range(len(pcm)): - self.assertAlmostEqual(pcm[i], ground_truth[i], delta=10000) + self.assertAlmostEqual(pcm[i], ground_truth[i], delta=12000) def _test_equal_timestamp(self, timestamp: float, timestamp_truth: float) -> None: self.assertAlmostEqual(timestamp, timestamp_truth, places=2)