mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-27 17:17:40 +03:00
Formatting
This commit is contained in:
parent
1e6c1bc331
commit
04fb3689e5
@ -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"
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user