mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 03:04:16 -04:00
tpe
This commit is contained in:
parent
bc48b67379
commit
f067212491
@ -32,7 +32,7 @@ class RknnSession:
|
|||||||
self.tpe = settings.rknn_facial_detection_threads
|
self.tpe = settings.rknn_facial_detection_threads
|
||||||
|
|
||||||
log.info(f"Loading RKNN model from {self.model_path} with {self.tpe} threads.")
|
log.info(f"Loading RKNN model from {self.model_path} with {self.tpe} threads.")
|
||||||
self.rknnpool = RknnPoolExecutor(rknnModel=self.model_path.as_posix(), TPEs=self.tpe, func=runInfrence)
|
self.rknnpool = RknnPoolExecutor(rknnModel=self.model_path.as_posix(), tpes=self.tpe, func=runInfrence)
|
||||||
log.info(f"Loaded RKNN model from {self.model_path} with {self.tpe} threads.")
|
log.info(f"Loaded RKNN model from {self.model_path} with {self.tpe} threads.")
|
||||||
|
|
||||||
def __del__(self) -> None:
|
def __del__(self) -> None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user