mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-02 17:12:16 +03:00
Add support for rockchip GPU stats (#17812)
* Set rockchip GPU name * Add support for calculating rockchip GPU load * Format consistently * Fix access error
This commit is contained in:
@@ -175,6 +175,7 @@ class HailoAsyncInference:
|
||||
return self.hef.get_input_vstream_infos()[0].shape
|
||||
|
||||
def run(self) -> None:
|
||||
job = None
|
||||
with self.infer_model.configure() as configured_infer_model:
|
||||
while True:
|
||||
batch_data = self.input_store.get()
|
||||
@@ -202,7 +203,9 @@ class HailoAsyncInference:
|
||||
bindings_list=bindings_list,
|
||||
),
|
||||
)
|
||||
job.wait(100)
|
||||
|
||||
if job is not None:
|
||||
job.wait(100)
|
||||
|
||||
|
||||
# ----------------- HailoDetector Class ----------------- #
|
||||
|
||||
Reference in New Issue
Block a user