fix chrash after restart (#8661)

This commit is contained in:
Marc Altmann
2023-11-18 22:36:24 +01:00
committed by GitHub
parent 678f1201c6
commit 977eef9138

View File

@@ -62,6 +62,7 @@ class Rknn(DetectionApi):
)
)
if not os.path.isfile("/usr/lib/librknnrt.so"):
if "rk356" in soc:
os.rename("/usr/lib/librknnrt_rk356x.so", "/usr/lib/librknnrt.so")
elif "rk3588" in soc: