We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3b9b092 + 444ccea commit e9504c9Copy full SHA for e9504c9
1 file changed
edge_impulse_linux/runner.py
@@ -24,7 +24,7 @@ def __init__(self, model_path: str, timeout: int = 30, allow_shm = True):
24
self._allow_shm = allow_shm
25
self._input_shm = None
26
self._freeform_output_shm = []
27
- self._timeout = timeout
+ self._timeout = timeout if not allow_shm else None
28
29
def init(self, debug=False):
30
if not os.path.exists(self._model_path):
0 commit comments