mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 02:35:22 +03:00
Update libyolo_layer.so for HA compatibility
Frigate HA add-on map /usr/share/hassio/homeassistant to /config in the container By compying trt-models folder into homeassistant folder, libyolo_layer.so can be accessed by the plugin "out of the box" throught /config/trt-models Better for homeassistant compatibility.
This commit is contained in:
parent
ca7790ff65
commit
33674faaa5
@ -77,7 +77,7 @@ class TensorRtDetector(DetectionApi):
|
||||
try:
|
||||
trt.init_libnvinfer_plugins(self.trt_logger, "")
|
||||
|
||||
ctypes.cdll.LoadLibrary("/trt-models/libyolo_layer.so")
|
||||
ctypes.cdll.LoadLibrary("/config/trt-models/libyolo_layer.so")
|
||||
except OSError as e:
|
||||
logger.error(
|
||||
"ERROR: failed to load libraries. %s",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user