mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-07-30 13:48:07 +02:00
fix trt model prepare on jp6 (#16679)
This commit is contained in:
parent
2b3ab02ebf
commit
c240512ef4
@ -64,7 +64,7 @@ fi
|
|||||||
# order to run libyolo here.
|
# order to run libyolo here.
|
||||||
# On Jetpack 5.0, these libraries are not mounted by the runtime and are supplied by the image.
|
# On Jetpack 5.0, these libraries are not mounted by the runtime and are supplied by the image.
|
||||||
if [[ "$(arch)" == "aarch64" ]]; then
|
if [[ "$(arch)" == "aarch64" ]]; then
|
||||||
if [[ ! -e /usr/lib/aarch64-linux-gnu/tegra ]]; then
|
if [[ ! -e /usr/lib/aarch64-linux-gnu/tegra && ! -e /usr/lib/aarch64-linux-gnu/tegra-egl ]]; then
|
||||||
echo "ERROR: Container must be launched with nvidia runtime"
|
echo "ERROR: Container must be launched with nvidia runtime"
|
||||||
exit 1
|
exit 1
|
||||||
elif [[ ! -e /usr/lib/aarch64-linux-gnu/libnvinfer.so.8 ||
|
elif [[ ! -e /usr/lib/aarch64-linux-gnu/libnvinfer.so.8 ||
|
||||||
|
Loading…
Reference in New Issue
Block a user