mirror of
https://github.com/immich-app/immich.git
synced 2025-12-18 01:11:07 +03:00
feat(ml): improved ARM-NN support (#11233)
This commit is contained in:
committed by
GitHub
parent
7c3326b662
commit
54488b1016
@@ -120,6 +120,8 @@ class Ann(metaclass=_Singleton):
|
||||
save_cached_network,
|
||||
cached_network_path.encode() if cached_network_path is not None else None,
|
||||
)
|
||||
if net_id < 0:
|
||||
raise ValueError("Cannot load model!")
|
||||
|
||||
self.input_shapes[net_id] = tuple(
|
||||
self.shape(net_id, input=True, index=i) for i in range(self.tensors(net_id, input=True))
|
||||
|
||||
Reference in New Issue
Block a user