forked from Github/frigate
fix chrash after restart (#8661)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user