mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Log correct tensorRT version when debugging (#14182)
This commit is contained in:
parent
cae304e07f
commit
dcaed0e90f
@ -255,7 +255,7 @@ class TensorRtDetector(DetectionApi):
|
|||||||
raise RuntimeError("fail to allocate CUDA resources") from e
|
raise RuntimeError("fail to allocate CUDA resources") from e
|
||||||
|
|
||||||
logger.debug("TensorRT loaded. Input shape is %s", self.input_shape)
|
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):
|
def __del__(self):
|
||||||
"""Free CUDA memories."""
|
"""Free CUDA memories."""
|
||||||
|
Loading…
Reference in New Issue
Block a user