mirror of
https://github.com/immich-app/immich.git
synced 2024-12-29 15:11:58 +00:00
change log message
This commit is contained in:
parent
717961ce7b
commit
fb4fe5d40b
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ class FaceRecognizer(InferenceModel):
|
||||||
def _load(self) -> ModelSession:
|
def _load(self) -> ModelSession:
|
||||||
session = self._make_session(self.model_path)
|
session = self._make_session(self.model_path)
|
||||||
if isinstance(session, ort.InferenceSession) and not ort_has_batch_dim(session):
|
if isinstance(session, ort.InferenceSession) and not ort_has_batch_dim(session):
|
||||||
log.debug(f"Adding batch dimension to model {self.model_path}")
|
log.info(f"Adding batch dimension to recognition model {self.model_name}")
|
||||||
ort_add_batch_dim(self.model_path, self.model_path)
|
ort_add_batch_dim(self.model_path, self.model_path)
|
||||||
session = self._make_session(self.model_path)
|
session = self._make_session(self.model_path)
|
||||||
self.model = ArcFaceONNX(
|
self.model = ArcFaceONNX(
|
||||||
|
|
Loading…
Reference in a new issue