From 444ccea0a592127a776b2fcee2de5897a0bcf8df Mon Sep 17 00:00:00 2001 From: Dmitry <32562299+AIWintermuteAI@users.noreply.github.com> Date: Mon, 17 Nov 2025 14:21:41 +0100 Subject: [PATCH] don't use timeout without shm --- edge_impulse_linux/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edge_impulse_linux/runner.py b/edge_impulse_linux/runner.py index d5bea3a..ef79363 100755 --- a/edge_impulse_linux/runner.py +++ b/edge_impulse_linux/runner.py @@ -24,7 +24,7 @@ def __init__(self, model_path: str, timeout: int = 30, allow_shm = True): self._allow_shm = allow_shm self._input_shm = None self._freeform_output_shm = [] - self._timeout = timeout + self._timeout = timeout if not allow_shm else None def init(self, debug=False): if not os.path.exists(self._model_path):