Fix paths to yolo lib and models folder

This commit is contained in:
Nate Meyer 2023-06-20 02:19:33 -04:00
parent 8a6b840e47
commit 7155cc4b87
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
set -euxo pipefail
OUTPUT_FOLDER=/trt_models
OUTPUT_FOLDER=/trt-models
echo "Generating the following TRT Models: ${YOLO_MODELS:="yolov4-tiny-288,yolov4-tiny-416,yolov7-tiny-416"}"
# Create output folder

View File

@ -78,7 +78,7 @@ class TensorRtDetector(DetectionApi):
try:
trt.init_libnvinfer_plugins(self.trt_logger, "")
ctypes.cdll.LoadLibrary("/trt-models/libyolo_layer.so")
ctypes.cdll.LoadLibrary("/usr/local/lib/libyolo_layer.so")
except OSError as e:
logger.error(
"ERROR: failed to load libraries. %s",