Skip to content

Commit

Permalink
Log correct tensorRT version when debugging (blakeblackshear#14182)
Browse files Browse the repository at this point in the history
  • Loading branch information
remz1337 authored Oct 6, 2024
1 parent cae304e commit dcaed0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frigate/detectors/plugins/tensorrt.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def __init__(self, detector_config: TensorRTDetectorConfig):
raise RuntimeError("fail to allocate CUDA resources") from e

logger.debug("TensorRT loaded. Input shape is %s", self.input_shape)
logger.debug("TensorRT version is %s", trt.__version__[0])
logger.debug("TensorRT version is %s", TRT_VERSION)

def __del__(self):
"""Free CUDA memories."""
Expand Down

0 comments on commit dcaed0e

Please sign in to comment.