From 04fb3689e5bcfff7a52e5e03cd99155aaf493931 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Mon, 7 Jul 2025 17:52:21 -0600 Subject: [PATCH] Formatting --- frigate/detectors/plugins/tensorrt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/detectors/plugins/tensorrt.py b/frigate/detectors/plugins/tensorrt.py index 03cc87f5f..bf0eb6fa8 100644 --- a/frigate/detectors/plugins/tensorrt.py +++ b/frigate/detectors/plugins/tensorrt.py @@ -44,6 +44,7 @@ if TRT_SUPPORT: else: return logging.DEBUG + class TensorRTDetectorConfig(BaseDetectorConfig): type: Literal[DETECTOR_KEY] device: int = Field(default=0, title="GPU Device Index") @@ -227,7 +228,6 @@ class TensorRtDetector(DetectionApi): "TensorRT detector is no longer supported on amd64 system. Please use ONNX detector instead, see https://docs.frigate.video/configuration/object_detectors#onnx for more information." ) - assert TRT_SUPPORT, ( f"TensorRT libraries not found, {DETECTOR_KEY} detector not present" )