mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-01 00:22:19 +03:00
Fixes (#18379)
* Don't return weighted name if it has the same number of results * Remove link to incorrect format yolov9 models * Fix command list from appearing when other inputs are focused the description box in the tracked object details pane was causing the command input list to show when focused. * clarify face docs * Add note about python yolov9 export * Check if hailort thread is still alive when timeout error is run into * Reduce inference timeout --------- Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
This commit is contained in:
co-authored by
Josh Hawkins
parent
63f9689b0e
commit
cbdac9ece5
@@ -345,11 +345,17 @@ class HailoDetector(DetectionApi):
|
||||
request_id = self.input_store.put(tensor_input)
|
||||
|
||||
try:
|
||||
_, infer_results = self.response_store.get(request_id, timeout=10.0)
|
||||
_, infer_results = self.response_store.get(request_id, timeout=1.0)
|
||||
except TimeoutError:
|
||||
logger.error(
|
||||
f"Timeout waiting for inference results for request {request_id}"
|
||||
)
|
||||
|
||||
if not self.inference_thread.is_alive():
|
||||
raise RuntimeError(
|
||||
"HailoRT inference thread has stopped, restart required."
|
||||
)
|
||||
|
||||
return np.zeros((20, 6), dtype=np.float32)
|
||||
|
||||
if isinstance(infer_results, list) and len(infer_results) == 1:
|
||||
|
||||
Reference in New Issue
Block a user